Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Problem displaying Japanese chars on Linux
- To: tlug@example.com
- Subject: Re: [tlug] Problem displaying Japanese chars on Linux
- From: BOTi <9915104t@example.com>
- Date: Wed, 13 Feb 2002 21:26:57 +0900
- Content-transfer-encoding: 7bit
- Content-type: text/plain; charset=iso-2022-jp
- Organization: Kobe University, Japan
- References: <DAV74mO030Ws6Wxm5LE000051e3@example.com>
- Sender: boti
Maarten Janson wrote: > The problem is that when the Agent is started during boot of the > Japanese Linux machine and you point the browser on a Japanese windows > machine to it you see questionmarks. If I then stop the Agent on the > Linux machine and restart then the client displays proper Japanese > characters. I did some debugging and wrote a small java program > (test_resource.java) to display this behaviour, I have listed > test_resource.java below, together with the 2 properties files. > > If you run test_resource during boot (create S99Test in /etc/rc5.d and > have S99Test to run test_resource and redirect output to a file) then > you will see that the correct properties file is loaded and that the > english chars in the resource string appear fine but the japanese > chars appear as ????? If you then run test_resource from an xterm > window the the japanese chars display fine as well. As someone already pointed it out before, you most probably need to set the locale before you start the Agent. Make a single shell script which does `export LC_ALL=ja_JP; java classname.for.Agent` and call that from your initscripts. As you are using a Japanese distribution, the Japanese locale is probably set at a later stage that's why it works from a terminal. > In test_resource I set the default Locale in order to make sure it is > set correctly (see bug ID4127375) Most probably this is not enough. ps: I don't mind html mails but afaik some people on the list do, so if it's possible to set your M$ outlook to send plain text mails that would be great. -- B0Ti.
- Follow-Ups:
- Re: [tlug] Problem displaying Japanese chars on Linux
- From: Maarten Janson
- References:
- [tlug] Problem displaying Japanese chars on Linux
- From: Maarten Janson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Nomikai Meeting Reminder
- Next by Date: Re: [tlug] Problem displaying Japanese chars on Linux
- Previous by thread: Re: [tlug] Problem displaying Japanese chars on Linux
- Next by thread: Re: [tlug] Problem displaying Japanese chars on Linux
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links