[jboss-jira] [JBoss JIRA] (AS7-4031) file.encoding is not correct
Idar Borlaug (JIRA)
jira-events at lists.jboss.org
Mon Mar 5 09:41:36 EST 2012
Idar Borlaug created AS7-4031:
---------------------------------
Summary: file.encoding is not correct
Key: AS7-4031
URL: https://issues.jboss.org/browse/AS7-4031
Project: Application Server 7
Issue Type: Bug
Affects Versions: 7.1.0.Final, 7.0.2.Final
Environment: OpenSuse 12, SLES 11
Reporter: Idar Borlaug
When starting jboss i get file.encoding = ANSI_X3.4-1968 in boot.log
My jbossuser has locale:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
java -jar test.jar print file.encoding=UTF-8
Java reads the locale info fine, jboss just ignores it.
Setting file.encoding=UTF-8 has no effect in jboss 7.0.2 (the boot.log prints UTF-8, but new File("filename") still uses something else) but works in 7.1.0
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list