Log in

No account? Create an account
widget for osx - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

widget for osx [May. 11th, 2005|12:03 am]
LiveJournal Client Discussions


Hello. I am writing a widget for osx to update a livejournal.

Currently it is using http://www.livejournal.com/interface/flat interface to post entries, get challenges and so on. After finishing and polishing the code, I've realized, that it is not able to post non-english letters. How can it be fixed? Is there any way to specify the encoding in flat interface?

[User Picture]From: int
2005-05-21 05:07 am (UTC)
Err, you're only meant to use that if you're posting via the flat interface. XMLRPC you shouldn't have to do anything, other than put text inside <![CDATA[]]> tags (or just escape tags, and don't forget you have to base64 encode the music string otherwise it'll die if you try to send unicode strings through it).
(Reply) (Parent) (Thread)
From: livewidget
2005-05-21 05:14 am (UTC)
I've just been posting like this


and at one point it did work, I was sending tags fine, but I guess I've disconnected the esccaping code I had in there. hmmm

I'll change that to be

and see how I go (with all the "{"s being angle brackets)

(Reply) (Parent) (Thread)
From: livewidget
2005-05-21 05:33 am (UTC)
Worked as prescribed, you took a lot of debugging out of my day :-)
(Reply) (Parent) (Thread)