Public bug reported:

Turkish locales have a unusual collation feature. The letter "i" is
uppercased to "İ", while the usual English uppercase "I" is lowercased
to "ı". This breaks programs that use common "upcase(s1) == KEYWORD"
idiom to recognize keywords with case insensitivity.

/etc/mtools.conf (default):
drive a: file="/dev/fd0" exclusive

$ LC_CTYPE=tr_TR.UTF-8 mtools
Syntax error at line 5 for drive A: column 9 in file /etc/mtools.conf: 
unrecognized keyword

$ LC_CTYPE=C mtools
Supported commands:
mattrib, mbadblocks, mcat, mcd, mclasserase, mcopy, mdel, mdeltree
mdir, mdoctorfat, mdu, mformat, minfo, mlabel, mmd, mmount
mpartition, mrd, mread, mmove, mren, mshowfat, mshortname, mtoolstest
mtype, mwrite, mzip

** Affects: mtools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: turkish

** Description changed:

  Turkish locales have a unusual collation feature. The letter "i" is
  uppercased to "İ", while the usual English uppercase "I" is lowercased
- to "ı". This breaks programs that use common "upcase(s1) == upcase(s2)"
- idiom to compare strings with case insensitivity.
+ to "ı". This breaks programs that use common "upcase(s1) == KEYWORD"
+ idiom to recognize keywords with case insensitivity.
  
  /etc/mtools.conf (default):
  drive a: file="/dev/fd0" exclusive
  
  $ LC_CTYPE=tr_TR.UTF-8 mtools
  Syntax error at line 5 for drive A: column 9 in file /etc/mtools.conf: 
unrecognized keyword
  
  $ LC_CTYPE=C mtools
  Supported commands:
  mattrib, mbadblocks, mcat, mcd, mclasserase, mcopy, mdel, mdeltree
  mdir, mdoctorfat, mdu, mformat, minfo, mlabel, mmd, mmount
  mpartition, mrd, mread, mmove, mren, mshowfat, mshortname, mtoolstest
  mtype, mwrite, mzip

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1479152

Title:
  mtools do not work in Turkish locale

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mtools/+bug/1479152/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to