info-mtools
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Info-mtools] mtools does not work in Turkish locale


From: Chris Lamb
Subject: Re: [Info-mtools] mtools does not work in Turkish locale
Date: Sat, 24 Oct 2020 12:05:04 -0000
User-agent: Cyrus-JMAP/3.3.0-529-g69105b1-fm-20201021.003-g69105b13

Hi Pali,

> IIRC toupper() for lowercase i with dot in Turkish locale returns
> uppercase I with dot. In English or C locale it is uppercase I without
> dot.
>
> I guess that for case-insensitive parsing of config options (which are
> written in English) should be used toupper() variant in C locale.
>
> There is a standard POSIX function toupper_l() which takes as a second
> argument locale. So I think that for reading config file it should be
> used function toupper_l() with C locale instead of locale-dependent
> toupper() function.

Indeed. This all matches my own analysis and reflects where I had got
to in previous email; apologies if that was not clearer.


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org 🍥 chris-lamb.co.uk
       `-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]