?

Log in

No account? Create an account
problem with Unicode - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

problem with Unicode [Jun. 4th, 2004|05:07 pm]
LiveJournal Client Discussions

lj_clients

[sohmc]
[mood |confusedconfused]
[music |A Walk To Remember [Switchfoot] - 5. Learning to Breathe]

I'm having some trouble with the new unicode stuff on LJ.

my client blogmate simply returns when the journal was updated last. Nothing more. Doesn't edit, doesn't display an entry, etc. Simply returns data about the last entry.

However, I think LJ changed something and I can't figure out how to fix my code.

Here is what I'm doing:

POST /interface/flat HTTP/1.0
Host: www.livejournal.com
User-Agent: BlogMate 0.05-CVS
Content-type: application/x-www-form-urlencoded
Content-length: 89

mode=getevents&user=sohmc&password=[removed]&truncate=4&selecttype=lastn&howmany=1&ver=0

Response:

HTTP/1.1 200 OK
Date: Fri, 04 Jun 2004 21:00:17 GMT
Server: Apache
Set-Cookie: ljuniq=kuf6M6o5PoRSiUD:1086382817; expires=Tuesday, 03-Aug-2004 21:00:17 GMT; domain=.livejournal.com; path=/
Content-length: 205
Content-Type: text/plain
X-Cache: MISS from www.livejournal.com
Connection: close

errmsg 
Client error: Protocol version mismatch: Cannot display/edit a Unicode post with a non-Unicode client. Please see http://www.livejournal.com/support/encodings.bml for more information.
success
FAIL


Any suggestions on how to fix this? I'm stumped.
linkReply

Comments:
[User Picture]From: hober
2004-06-04 02:24 pm (UTC)
ver=1

Also, lj-cut is your friend.
(Reply) (Thread)
[User Picture]From: sohmc
2004-06-04 02:32 pm (UTC)
....d'oh.....

I feel so stupid...

thanks. I'll remember lj-cut for next time...

Can I edit my previous post?
(Reply) (Parent) (Thread)
[User Picture]From: sohmc
2004-06-04 02:36 pm (UTC)
BAH!!

I should RTM...
(Reply) (Parent) (Thread)