[TIMOB-1750] toLocaleUpperCase function doesn't work as expected
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:03.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | i18n, ios, string |
Reporter | nicjohnson |
Assignee | Jeff Haynie |
Created | 2011-04-15T03:01:19.000+0000 |
Updated | 2011-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.
Tested 1.6.0GM.