mtools do not work in Turkish locale

Bug #1479152 reported by Алексей Капранов (Alex Kapranoff) on 2015-07-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mtools (Ubuntu)

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

Lenin (gagarin) on 2019-10-08
Changed in mtools (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers