Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1750] toLocaleUpperCase function doesn't work as expected

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:57:03.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsi18n, ios, string
Reporternicjohnson
AssigneeJeff Haynie
Created2011-04-15T03:01:19.000+0000
Updated2011-04-17T01:57:03.000+0000

Description

The function toLocaleUpperCase doesn't return an uppercase string if the source string contains unicode characters. I have string "La Jetée" and call toLocaleUpperCase on it and it returns "La Jetée" instead of the expected "LA JETÉE". I've also tried this with "piñata" and "göthe". I get the same results.

An example of what I'm doing:

var str = 'Jetée';
str = str.toLocaleUpperCase();

The result is Jetée instead of JETÉE.

Comments

  1. Stephen Tramer 2011-04-15

    Tested 1.6.0GM.

JSON Source