On Fri, Jul 18, 2008 at 10:39 AM, Allan McRae <[EMAIL PROTECTED]> wrote:
> Aaron Griffin wrote:
>> On Fri, Jul 18, 2008 at 1:41 AM, Allan McRae <[EMAIL PROTECTED]> wrote:
>>
>>>                answer=$(echo $answer | tr '[:upper:]' '[:lower:]')
>>>
>>
>> Random unrelated point - can this line possibly cause issues similar
>> to the Turkish I/i thing?
>>
>
> Maybe, what is the Turkish I/i thing?  (Maybe its another language
> because I think Y=E, n=h in turkish).

Turkish has two I's. Just remember that the 'dot' moves with it. So i
capitalizes to I with a dot over it, and I lowercases to an i without
the dot over it. It causes all sorts of issues with "to upper" type
comparisons. I was just wondering if this sort of issue hits any other
languages. Because we ran into this with config file parsing, I always
get scared when I see upper/lower based compares in a translated
context. Just being thourough

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev

Reply via email to