Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: XIM, kinput2 & Tk
- To: B0Ti <9915104t@example.com>
- Subject: Re: XIM, kinput2 & Tk
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Mon, 14 May 2001 13:22:40 +0900
- Cc: tlug@example.com
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <3AFBCFCB.DB10FA3B@example.com>
- References: <200105110547.OAA17710@example.com><3AFBCFCB.DB10FA3B@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <5X9JIC.A.hKF.G-1_6@example.com>
- Resent-Sender: tlug-request@example.com
>>>>> "B0Ti" == B0Ti <9915104t@example.com> writes: B0Ti> Jim Breen wrote: >> And to follow up my previous partially rhetorical question, if >> a Swede wants to run a kterm, while still getting messages >> etc. in Swedish, >> (a) what does he/she set variables to? >> (b) how should kterm respond to which which variables? B0Ti> Poor Swede won't see the Swedish messages properly under B0Ti> kterm since the Swedish language contains accented B0Ti> characters. He has to read them in English, like I do. In kterm, as currently butchered, possibly true. (Ignoring the fact that the Swedish-language message catalog surely doesn't exist.) BTW, Jim, it is true that kterm was originally created before the POSIX locale system. However, kterm has had plenty of time to catch up, X11R5 standardized use of the POSIX locale system. X11R5 was released in 1991 or before, and much of the machinery dates back to X11R4, although explicitly locale-dependent functionality like XIM and XFontSets were not yet standardized. However, in theory, you simply set LANG=se_SE.ctext. Then what happens is that the application spits out Japanese output in ISO-2022-JP, while kterm's messages are in ISO-8859-1. This only works because of the definition of the X Compound Text encoding and the assumption that the app is capable of producing ISO-2022-JP. In general, if you set the encoding of the locale to a 7-bit ISO 2022 variant, then you should be able to set the language of the locale any way you like to get messages, and still see multilingual text in the kterm. A more general solution is to set LANG=ja_JP.SJIS (or any Japanese) and LC_MESSAGES=se_SE.iso8859-1. The only way that should fail is if there is no message catalog in Swedish. -- University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091 _________________ _________________ _________________ _________________ What are those straight lines for? "XEmacs rules."
- References:
- Re: XIM, kinput2 & Tk
- From: jwb@example.com (Jim Breen)
- Re: XIM, kinput2 & Tk
- From: B0Ti <9915104t@example.com>
Home | Main Index | Thread Index
- Prev by Date: Japanese in an RPG?
- Next by Date: Re: XIM, kinput2 & Tk
- Prev by thread: Re: XIM, kinput2 & Tk
- Next by thread: Re: XIM, kinput2 & Tk
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links