?

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: ex_gregbg715
2002-07-11 04:39 am (UTC)

Could not even compile it

... no configure.in there ;(
(Reply) (Thread)
From: evan
2002-07-16 02:34 am (UTC)

Re: Could not even compile it

You need to run ./autogen.sh to generate the files. :)
(Reply) (Parent) (Thread)