Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110447 - Adding a note to the java guide about the need for a UTF-8 locale
Summary: Adding a note to the java guide about the need for a UTF-8 locale
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Java Guide (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Flammie Pirinen (RETIRED)
URL: http://www.gentoo.org/doc/en/java.xml
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 08:37 UTC by Petteri Räty (RETIRED)
Modified: 2005-10-25 09:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2005-10-25 08:37:27 UTC
If you need to use characters like 
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-10-25 08:37:27 UTC
If you need to use characters like ä,ö and à it seems that you need to have a
UTF-8 locale so the Java guide should mention this and link to the Gentoo UTF-8
guide.
Comment 2 Flammie Pirinen (RETIRED) gentoo-dev 2005-10-25 08:55:37 UTC
Are you sure? At least jEdit seems to work nicely with LC_ALL=fi_FI@euro, and I
have one machine running on that locale all the time, which should use many more
java applications as well, eg. Azureus comes to mind, and I suppose java-plugin
for browser can be count in as well.

Of course you must use locale which' charset supports the characters you use,
and furthermore java should really be operated in unicode environment, but at
least I think it should work without.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2005-10-25 09:02:40 UTC
Maybe the wording should be like we recommend using UTF-8. 
I was able to reproduce the problem of one of our users with the following:
emerge mercury-bin
LC_ALL="POSIX" mercury
ctlr+r
try to type 
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2005-10-25 09:02:40 UTC
Maybe the wording should be like we recommend using UTF-8. 
I was able to reproduce the problem of one of our users with the following:
emerge mercury-bin
LC_ALL="POSIX" mercury
ctlr+r
try to type ä or ö to dialog that opened
Comment 5 Flammie Pirinen (RETIRED) gentoo-dev 2005-10-25 09:25:06 UTC
Yes, that's what I meant by saying that used locale must support characters
used, if you want to use 7-bit ASCII locale and 
Comment 6 Flammie Pirinen (RETIRED) gentoo-dev 2005-10-25 09:25:06 UTC
Yes, that's what I meant by saying that used locale must support characters
used, if you want to use 7-bit ASCII locale and ä or ö you must use SF7-ASCII
instead of US-ASCII ;-)

Hmm, I think it requires new section in Config chapter. I'll write one up in a
moment and send a patch for review.
Comment 7 Flammie Pirinen (RETIRED) gentoo-dev 2005-10-25 09:53:21 UTC
Well, after a short chat with axxo and Betelgeuse I decided it's probably not
worth mentioning in every single app or such doc that you need to have sane
environment for your environment to work. Invaliding.