[jboss-jira] [JBoss JIRA] (AS7-4031) file.encoding is not correct

Idar Borlaug (JIRA) jira-events at lists.jboss.org
Tue Mar 6 04:25:36 EST 2012


     [ https://issues.jboss.org/browse/AS7-4031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Idar Borlaug updated AS7-4031:
------------------------------

    Affects Version/s:     (was: 7.0.2.Final)
                           (was: 7.1.0.Final)
             Priority: Trivial  (was: Major)
          Component/s:     (was: Server)


Hehe, seems the startscript had locale posix :( Please delete this issue :)
                
> file.encoding is not correct
> ----------------------------
>
>                 Key: AS7-4031
>                 URL: https://issues.jboss.org/browse/AS7-4031
>             Project: Application Server 7
>          Issue Type: Bug
>         Environment: OpenSuse 12, SLES 11
>            Reporter: Idar Borlaug
>            Priority: Trivial
>
> 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