[Bug 1479152] [NEW] mtools do not work in Turkish locale
Алексей Капранов (Alex Kapranoff)
1479152 at bugs.launchpad.net
Tue Jul 28 23:40:34 UTC 2015
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
Foundations Bugs, which is subscribed to mtools in Ubuntu.
https://bugs.launchpad.net/bugs/1479152
Title:
mtools do not work in Turkish locale
Status in mtools package in Ubuntu:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mtools/+bug/1479152/+subscriptions
More information about the foundations-bugs
mailing list