#5559 HIGH Update.: change language to Turkish, machine keeps rebooting
Zarro Boogs per Child
bugtracker at laptop.org
Sun Jan 13 00:59:59 EST 2008
#5559: change language to Turkish, machine keeps rebooting
---------------------+------------------------------------------------------
Reporter: chihyu | Owner: marco
Type: defect | Status: new
Priority: high | Milestone: Update.1
Component: sugar | Version:
Resolution: | Keywords: review+
Verified: 0 | Blocking:
Blockedby: |
---------------------+------------------------------------------------------
Comment(by AlbertCahalan):
If the result of u'VOID'.lower() is not locale-dependent, then Python is
buggy.
I just tested the locale itself on Fedora 8, directly via C. Somehow I
forgot to test Python, but that will match up with C unless it is buggy.
The tr_TR.utf8 locale (and tr_TR.UTF-8 alias) treat the tittle (dot) like
any random accent mark. The dotted/undotted distinction is fully preserved
when converting between uppercase and lowercase.
The en_US.utf8 locale (and en_US.UTF-8 alias) will mangle Turkish letters
on case changes. A round trip through towupper and towlower will turn a
dotted capital I into an undotted one, and will turn an undotted lowercase
I into a dotted one. (you always end up with ASCII)
The C locale refuses to make case changes to any non-ASCII character. All
non-ASCII passes through.
--
Ticket URL: <http://dev.laptop.org/ticket/5559#comment:19>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list