Support for extended character sets

Roland Illig roland.illig at gmx.de
Thu Mar 10 19:02:13 UTC 2005


Hi all,

I have written some code to unify single-byte character sets and 
extended character sets. With this code, it should be easier to enable 
extended character set support not only for UTF-8, but also for any 
other character set. Especially, this code tries to reduce the amount of 
#ifdef's that is needed to support both kinds of character sets. It only 
makes use of features that appeared in the ANSI C89 standard library, so 
it should work nearly everywhere.

This is my first try, so don't expect it to be perfect.

Another big question is how to interpret filenames. Consider a setup 
where the root filesystem is encoded in iso8859-1, but there's a Samba 
filesystem mounted somewhere with utf-8 encoding. I would like mc to be 
able to handle this, but I know it will take some time and many thoughts 
to properly implement it.

Roland
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mc-ecs.patch
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050310/89b70c22/attachment.ksh>


More information about the mc-devel mailing list