Log in

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

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

Japanese support? [Sep. 9th, 2004|03:13 pm]


I'm using LogJam 3.0.3 (because that's the package that comes with Debian by defaut), and I've been trying to find out if there's any Japanese input (and EUC) support for it. Not having found it (or even been able to beat Mozilla into supporting entering Japanese text -- I guess I'll worry about that later, since I still want that for other things) I threw together a quick program to convert iso-2022-jp to HTML (not really an elegant solution when every character is an &#nnnnn; unicode escape), but I was hoping to at least be able to paste Japanese characters into here directly (I can always write the Japanese in Emacs, that's no big deal, I'm not really worried about getting kinput2 running or anything).

I am (of course) more than willing to upgrade to 4.4.x or whatever if it will do that, but all things being equal, I'd just as soon stick with the Debian package. I don't care about localizations (my primary language is English), just posting in Japanese occasionally. I suppose I'd be willing to pitch in to help do it, although I have no idea how to do such a thing in GTK or whatever.

[User Picture]From: brad
2004-09-09 09:14 pm (UTC)
Right click the text widget and choose your input method. It's GTK+, so it gets all of GTK+'s amazing i18n support.

By default it uses that of your locale or something, which apparently isn't Japanese.
(Reply) (Thread)
[User Picture]From: doubt72
2004-09-09 09:22 pm (UTC)
Okay... I've been trying to mix locales, and apparently that's not working. I'll screw around with that some more, as apparently that's the problem.

(Reply) (Parent) (Thread)
[User Picture]From: doubt72
2004-09-09 09:35 pm (UTC)

Now it all works with 日本語

Obviously, I was doing the locale wrong, I fixed it, now it all works. Thanks!

[On the good side, now I know the exact specifications for EUC and iso-2022-jp.]
(Reply) (Parent) (Thread)
From: evan
2004-09-10 01:59 am (UTC)
But LogJam 3.0.3 uses GTK 1, I think, and that doesn't support Unicode so it doesn't send ver=1 with LJ requests.
(Reply) (Parent) (Thread)
[User Picture]From: doubt72
2004-09-10 05:49 am (UTC)
So I've discovered.

Update: I've since updated to the unstable release of Debian, upgrading everything (including the 4.4.0) version of Logjam. I'm in the process of recovering the mess (minor reconfiguration to get things working correctly again -- so far the only truly annoying bit is what it's done to my fonts), but overall it's probably worth it.

Anyway, everything (at least everything LJ related) seems to be working now.
(Reply) (Parent) (Thread)
[User Picture]From: gaal
2004-09-09 09:52 pm (UTC)
Only woody has 3.0.3 -- if you try unstable or testing, you'll have 4.4.0, which is much better :)
(Reply) (Thread)
[User Picture]From: _nikki
2004-09-09 09:52 pm (UTC)
There's a GTK2 input method that I like (http://im-ja.sf.net). Since it's only for GTK2, it'll only work in GTK2, but you can set your locale to ja and have it automatically set your input method to im-ja. I'm lazy, so im-ja rocks so much more for me than messing about getting kinput2 working and that.
(Reply) (Thread)
[User Picture]From: doubt72
2004-09-11 05:02 am (UTC)
Having now updated to 4.4.0 and GTK2.0 and all that, I have to say it was worth it...

Logjam 4.4.0 is very, very sweet. Thanks for writing it.
(Reply) (Thread)