Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: gjiten 0.8
- To: B0Ti <9915104t@example.com>
- Subject: Re: gjiten 0.8
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Fri, 4 May 2001 13:26:39 +0900
- Cc: tlug@example.com
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=iso-2022-jp
- In-Reply-To: <3AF02764.ED6C8C9A@example.com>
- References: <3AEE7C5E.F7E0F5F1@example.com><20010501082449.A550@example.com><3AEEB8AD.9A4A44AB@example.com><20010501222355.A1607@example.com><3AF02764.ED6C8C9A@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <a7pJG.A.UmC.RDj86@example.com>
- Resent-Sender: tlug-request@example.com
>>>>> "B0Ti" == B0Ti <9915104t@example.com> writes: B0Ti> If the user has the LC_ALL and LANG env variables unset then B0Ti> gjiten sets it automatically to ja_JP. I gather you check that explicitly with getenv(), instead of implicitly via setlocale(LC_ALL,"")? B0Ti> I know this is a bad practice but at least it saves me from B0Ti> getting 5 emails a day asking about displaying B0Ti> Japanese... ;) An error message "gjiten only works in the Japanese locale, blowing chunks and bailing out; try setting LANG=ja_JP." would be equally effective. Or a warning message "I don't grok en_普通, internally using ja_JP.eucJP". Both are acceptable. Silently doing what the user means is not. If you want to do that, please change to a closed source license so that others won't catch your bad habits. B0Ti> Anyway, I think all modern distros set these variables to at B0Ti> least "C". Potato is history :P Tubers have nothing to do with it. Any POSIX system implicitly has all LC_* categories set to "C" by default. -- 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:
- gjiten 0.8
- From: B0Ti <9915104t@example.com>
- Re: gjiten 0.8
- From: John Seebach <jseebach@example.com>
- Re: gjiten 0.8
- From: B0Ti <9915104t@example.com>
- Re: gjiten 0.8
- From: John Seebach <jseebach@example.com>
- Re: gjiten 0.8
- From: B0Ti <9915104t@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: TrueType and X
- Next by Date: Command to tell what character encoding a file has
- Prev by thread: Re: gjiten 0.8
- Next by thread: e book dictionaries
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links