Log in

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

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

[Jan. 28th, 2002|08:59 pm]
The stable branch of LogJam CVS now supports conversion from KOI8-R (Unix-based Cyrillic) to CP-1251 (Windows-based Cyrillic, which is common on LiveJournal). Patch is from Sergei Barbarash [sgt@fep.ru].

If there are any Russians watching this, can you confirm that this works? I didn't change much from the patch, but I'd like to verify before I make an official release of it.
(I'll mail Sergei directly, too.)

(This sort of thing will hopefully no longer be necessary after we switch to using Unicode...)

From: ex_sgt783
2002-01-29 03:07 am (UTC)

Everything seems to be fine, thank you for accepting the patch.

BTW, how do you plan to support UTF-8 in LogJam? Will you use GTK-2.0 or some third-party Unicode lib?
(Reply) (Thread)
From: evan
2002-01-29 09:51 am (UTC)
The current plan is to use GTK-2.0, but I've been thinking I may need some sort of Unicode support in the GTK-1.2-based version.

What do you think?
I don't really know the details of how it works in your environment. If your locale is set to a UTF-8 one and you type some keys at LogJam 3.0.x, what happens?
(Reply) (Parent) (Thread)
From: ex_sgt783
2002-01-29 11:08 am (UTC)
Well, I'm definitely not an Unicode expert, but AFAIK there is no such thing as UTF-8 locale. Locale is simply a mechanism to determine what exactly do you have in mind when you type in characters from the upper half of the ASCII table. In Unicode-unaware OS (such as FreeBSD, which I'm using, Linux goes there too I think), locale is the only way to specify your non-Latin alphabet.

For instance, Russian *nix users have a KOI8-R locale set, and the conversion between 8-bit ASCII <-> UTF-8 goes according to this locale.

I don't know much about GTK-2.0 either. When is it going to be ready? I know of some third-party Unicode conversion libraries, such as GNU libiconv (http://www.gnu.org/software/libiconv/) or IBM icu (http://oss.software.ibm.com/developerworks/opensource/icu/project/index.htm
l), which ought to do the job just fine, as long as you have your native locale set in your OS environment.
(Reply) (Parent) (Thread)
From: (Anonymous)
2002-01-29 08:17 am (UTC)


suppose i could have posted problems in your code to this lj rather than to your personal one, oh well fix the poor code... implement some sanity checks so client can actually be functional. ;)
(Reply) (Thread)
From: fortysixand2
2002-02-07 06:57 pm (UTC)
Is it compatible with Yellow Dog Linux for PPC or MacOSX?
(Reply) (Thread)
From: evan
2002-02-07 08:26 pm (UTC)
I'm not certian, but I don't know offhand why it wouldn't work...
(Reply) (Parent) (Thread)
From: fortysixand2
2002-02-07 08:47 pm (UTC)



Thank ye.

Ill test it for ya.
(Reply) (Parent) (Thread)
[User Picture]From: pixxydust420
2002-02-19 03:18 am (UTC)
hi this has nothing to do with n e thing but mabey you could tell me why my computer has a bad habbit of turning its self off about every hour? I know nothing bout computers just that its really annoying now that Ive lost my 4th report because of it!
(Reply) (Thread)
[User Picture]From: combinator
2002-03-10 10:31 pm (UTC)
Your problem is that you are running Windows which is written in the imperative, ad-hoc languages C and C++. The solution is to switch to an operating system which is written in a provably safe language, such as Hello written in Standard ML.

Either that or it's your faulty hardware, the solution to which is to buy a new computer.
(Reply) (Parent) (Thread)
From: evan
2002-03-11 08:05 am (UTC)


That made me giggle aloud. :)

That thesis is pretty cool, too.
(Reply) (Parent) (Thread)
[User Picture]From: colin
2002-03-14 01:22 pm (UTC)
someone wrote an operating system in SML?


(Reply) (Parent) (Thread)
From: (Anonymous)
2002-03-12 06:21 pm (UTC)


hey, i was wondering as to how i create a livejournal account. i want to be able to use this but i need a code which i don't have and i was wondering if you could help me? If you need to get to me my aim screen name is Angl and tedyber, or you can reach me at my email which is Angelandteddybear@hotmail.com. thank you.
(Reply) (Thread)
From: ex_candle321
2002-03-18 04:26 pm (UTC)

Short cuts ?

Have not been able to copy /paste in to logjam ?
Anyway to do that ?
(Reply) (Thread)