?

Log in

No account? Create an account
Could anyone who experienced trouble with LogJam 3.0.4 and KOI8R /… - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[Jul. 6th, 2002|09:50 pm]
LogJam
logjam
[evan]
Could anyone who experienced trouble with LogJam 3.0.4 and KOI8R / Windows1251 transcoding please check out the version in CVS? I think I fixed it.


Specifically: midendian indirectly pointed out a while ago that I was incorrectly urldecoding all incoming data when I in fact should only urldecode entries. This didn't have much of an effect in most cases except that LogJam ate plus signs (they represent spaces in url strings), except that by moving the urldecoding stage to a later point, the Windows1251 data was still in urlencoded (normal ASCII) form when it hit the transcoding point so it wasn't getting converted.

Unfortunately, I'm still a bit confused how people handled other data on LiveJournal-- should fullnames on friends lists be transcoded? Does LiveJournal just pass the eight-bit data directly, then, without urlencoding? (I assume so.) But this is at least a step in the right direction, and with the feedback of someone who actually needs this functionality I think I can make it work.

Doubly unfortunately, this code is really obsolete-- anyone using LiveJournal now is probably using UTF-8 which makes all of this issue moot. But there are still other non-LiveJournal.com LiveJournal sites, and I'd like to finalize this issue before releasing LogJam 3.0.5 which fixes a few minor bugs.
LinkReply

Comments:
From: alfienet
2002-07-23 08:31 pm (UTC)


Try these patches. However, don't select the save draft option in the preference box
or logjam will crash upon startup.



(Reply) (Parent) (Thread)
[User Picture]From: halkeye
2002-07-23 10:13 pm (UTC)
yea, noticed that
it crashes on the call to lj_warning...
(Reply) (Parent) (Thread)