[fedora-ja-list] [Bug 124849] Application message is scrabmled in Japanese

bugzilla @ redhat.com bugzilla @ redhat.com
2004年 12月 27日 (月) 23:00:18 UTC


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Application message is scrabmled in Japanese


https://bugzilla.redhat.com/beta/show_bug.cgi?id=124849


thacker @ math.cornell.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thacker @ math.cornell.edu




------- Additional Comments From thacker @ math.cornell.edu  2004-12-27 18:00 EST -------
I know a little bit more about this problem, which occurs in FC3 as well.  It's
not a limit of gettext exactly.  The translation is perfect, BTW.

The current version of lynx does not convert Japanese characters back and forth
between the legacy encodings (EUC-JP, Shift-JIS, etc.) and Unicode, although it
can convert back and forth between the legacy encodings.  (It hasn't properly
been rewritten to work with iconv()).  Therefore, we have multiple lynx.cfg
files located in /etc:  lynx.cfg, lynx.cfg.ja, and others.  When the user has no
.lynxrc files in his home directory, we select the lynx.cfg.ja configuration
file if the user's locale begins with ja, and the lynx.cfg file in most other cases.

The lynx.cfg.ja file explicitly sets EUC-JP as the character set used.  This is
better for browsing in Japanese, and works perfectly in the ja_JP.EUC-JP locale,
but runs into problems in the ja_JP.UTF-8 locale, causing precisely the problems
witnessed.

If I copy the /etc/lynx.cfg file to .lynxrc in my home directory, and then run
lynx with LANG=ja_JP.UTF-8, all works perfectly fine.  The Japanese application
messages appear exactly as they should.  This is because it does not read the
/etc/lynx.cfg.ja, and try to set the preferred character set to EUC-JP.

Therefore, we only want to use /etc/lynx.cfg.ja, which uses EUC-JP instead of
UTF-8, in ja_JP.EUC-JP (and eucjp, etc.) locales, but NOT in ja_JP.UTF-8. 
Editing the lynx-284-i18ncfg.patch included in the src RPM may fix the problem.

-- 
Configure bugmail: https://bugzilla.redhat.com/beta/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




Fedora-ja-list メーリングリストの案内