← Back to team overview

openjdk team mailing list archive

[Bug 541532] [NEW] servertool uses wrong locale

 

Public bug reported:

My locale is this:
LANG=en_US.utf8
LANGUAGE=en
LC_CTYPE=sv_SE.utf8
LC_NUMERIC=sv_SE.utf8
LC_TIME=sv_SE.utf8
LC_COLLATE=sv_SE.utf8
LC_MONETARY=sv_SE.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=sv_SE.utf8
LC_NAME=sv_SE.utf8
LC_ADDRESS=sv_SE.utf8
LC_TELEPHONE=sv_SE.utf8
LC_MEASUREMENT=sv_SE.utf8
LC_IDENTIFICATION=sv_SE.utf8
LC_ALL=

I therefore expect servertool's language to be English. However, this is how it looks:
-----------------
Välkommen till Java IDL Server Tool 
skriv kommandona vid prompten 

servertool > 
-----------------

In other words, it's in Swedish.

It looks like it uses LC_CTYPE, which I think is wrong.

ProblemType: Bug
Architecture: amd64
CheckboxSubmission: c2d78d7690d0fab80ba77c674de4d6a9
CheckboxSystem: 90b928d283473e9c089e730778bbd3da
Date: Thu Mar 18 22:27:26 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: openjdk-6-jre-headless 6b18~pre2-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: openjdk-6
Uname: Linux 2.6.32-16-generic x86_64

** Affects: openjdk-6 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
servertool uses wrong locale
https://bugs.launchpad.net/bugs/541532
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: New

Bug description:
My locale is this:
LANG=en_US.utf8
LANGUAGE=en
LC_CTYPE=sv_SE.utf8
LC_NUMERIC=sv_SE.utf8
LC_TIME=sv_SE.utf8
LC_COLLATE=sv_SE.utf8
LC_MONETARY=sv_SE.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=sv_SE.utf8
LC_NAME=sv_SE.utf8
LC_ADDRESS=sv_SE.utf8
LC_TELEPHONE=sv_SE.utf8
LC_MEASUREMENT=sv_SE.utf8
LC_IDENTIFICATION=sv_SE.utf8
LC_ALL=

I therefore expect servertool's language to be English. However, this is how it looks:
-----------------
Välkommen till Java IDL Server Tool 
skriv kommandona vid prompten 

servertool > 
-----------------

In other words, it's in Swedish.

It looks like it uses LC_CTYPE, which I think is wrong.

ProblemType: Bug
Architecture: amd64
CheckboxSubmission: c2d78d7690d0fab80ba77c674de4d6a9
CheckboxSystem: 90b928d283473e9c089e730778bbd3da
Date: Thu Mar 18 22:27:26 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: openjdk-6-jre-headless 6b18~pre2-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: openjdk-6
Uname: Linux 2.6.32-16-generic x86_64





Follow ups

References