← Back to team overview

ubuntu-phone team mailing list archive

Re: Critical bug: Bootloop with system language set to Turkish on the Nexus 4

 

(Niklas, re-reading my email, I should clarify that when I said "you", I
meant "one" not you yourself.)  I wasn't blaming you for this bug  :)

On Wed, Dec 3, 2014 at 5:04 PM, Michael Terry <michael.terry@xxxxxxxxxxxxx>
wrote:

> As I commented in the bug, this is almost certainly due to a fun little
> fact about the Turkish locale: tolower() and toupper() probably don't do
> what you expect when it comes to the letter i.
>
> You can find some background here:
> http://haacked.com/archive/2012/07/05/turkish-i-problem-and-why-you-should-care.aspx/
> among other places.
>
> Consider this a PSA to be careful when changing string case and then
> comparing the result to a hardcoded string.  You might want to
> use tolower_l/toupper_l with a C locale instead.
>
> -mt
>
>
> On Wed, Dec 3, 2014 at 4:28 PM, Niklas Wenzel <nikwen.developer@xxxxxxxxx>
> wrote:
>
>> Hi,
>>
>> As some of you might know, I'm an active member of the XDA Developers
>> forum.
>> Lately, member Ümit reported that his device doesn't boot when he sets
>> the system language to Turkish (Ubuntu RTM stable #10). Would someone
>> please be so kind as to have a look at bug report which contains more
>> detailed information?
>>
>> https://bugs.launchpad.net/ubuntu-rtm/+source/ubuntu-system-settings/+bug/1398984
>>
>> I'm sending this to the mailing list because I think it's a *very*
>> critical issue. If you think that I shouldn't have done that, please tell
>> me and I won't do it again in the future. ;)
>>
>> Cheers,
>> Niklas
>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> -mt
>



-- 
-mt

Follow ups

References