On Fri, Jul 18, 2008 at 10:39 AM, Allan McRae <allan@archlinux.org> wrote:
Aaron Griffin wrote:
On Fri, Jul 18, 2008 at 1:41 AM, Allan McRae <allan@archlinux.org> 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