Log in

No account? Create an account
LogJam [entries|archive|friends|userinfo]

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

[Jul. 6th, 2002|09:50 pm]
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.

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)
From: (Anonymous)
2002-07-18 06:11 pm (UTC)


hi, im not an live journal user- yet anyway. i was reading your journal and i'd like to get a code to be able to log in cuz they said i nneed a code. if u could, could u send me this code (b/c it says i can get one from an existing user) to my email ? it's katiebaby3415@yahoo.com. thanks,
(Reply) (Thread)
[User Picture]From: halkeye
2002-07-21 11:47 pm (UTC)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include -I/usr/include -g -O2 -Wall -g -I.. -c util.c
util.c:567: conflicting types for `lj_warning'
util.h:54: previous declaration of `lj_warning'
make: *** [util.o] Error 1

I get that when trying to compile the latest logjam cvs
am i missing something?
(Reply) (Thread)
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)