mtools do not work in Turkish locale

Bug #1479152 reported by Алексей Капранов (Alex Kapranoff)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mtools (Ubuntu)
Fix Released
Undecided
Unassigned

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

Tags: turkish
Lenin (gagarin)
Changed in mtools (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.