https://issues.apache.org/bugzilla/show_bug.cgi?id=54712
Bug ID: 54712
Summary: Prefer Locale.ENGLISH over Locale.US for case
conversion
Product: Tomcat 7
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: trivial
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Created attachment 30060
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30060&action=edit
Convert Locale.US to Locale.ENGLISH in case conversion methods
Case-conversion using toLowerCase or toUpperCase needs a Locale parameter to
avoid using the default (with possibly unexpected results in some Locales).
The code currently uses Locale.US in several places.
However most of the code uses Locale.ENGLISH.
The code should standardise on ENGLISH.
Or perhaps consider using Locale.ROOT (@since 1.6)?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]