cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10559] - [PATCH] parseLocale in I18nUtils.java
Date Tue, 09 Jul 2002 09:07:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10559>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10559

[PATCH] parseLocale in I18nUtils.java





------- Additional Comments From michael.enke@wincor-nixdorf.com  2002-07-09 09:07 -------
> private static final String LOCALE_DELIMITER   = "_@.-";

Yes, this is the very same ;-)

> Could you please tell which browsers use @ and '.' in Accept-Language? I'll 
> indicated that in JavaDocs.

Locale qualifier in netscape and MSIE which define also a country use the "-"
as delimiter. But in most browsers you can define your own locale strings.
That's why also @ and . can be sent from the browser.
Why people use "@" and .?
"@" is the variant delimiter in the $LANG (and others )environment variables
in Linux, "." is the variant delimiter for glibc locales directories in Linux.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message