UTF-8 patches


I have extended the patches from RedHat to support UTF-8 in
input widget, viewer and editor.

The patches are here: http://www.suse.de/~nadvornik/mc.html

Input widget and viewer uses directly UTF-8, editor uses
wchar_t internaly and performs conversion on reading and writing files.

Bugs and missing features:
  - portability (It currently does not compile without patched slang)
  - better integration with HAVE_CHARSET option
  - support for characters with wcwidth() > 1

Can these patches be included in future mc releases after these issues 
are fixed?

Vladimir Nadvornik
SuSE CR, s.r.o.                             e-mail: nadvornik suse cz
Drahobejlova 27                             tel:+420 2 9654 2373 
190 00 Praha 9                              fax:+420 2 9654 2374   
Ceska republika                             http://www.suse.cz    

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