Unfortunately it is not possible. I'm not able to select character coding, I can choose only character group for region (Western, Central European, Arabic, Greek, ...)
Generally, for "Central Europe" can be used at least four code pages: IBM-852, MacCE, Windows-1250 and ISO-8859-2 plus two universal UTF-8 and UNICODE.
Simultaneously, all file-types can be stored in different character encoding.
In Lister menu are mixed two different things: file-type (1,2,3,4,5) and character encoding (6,7,A,S,V).
I would like to be able to see every file-type (Text only, Binary, HEX, HTML)
in selected character encoding (IBM-852, MacCE, Windows-1250, ISO-8859-2, ...)
like for example in FireFox.
I already requested that feature in the german section of the board some time ago: link
For me, selecting a custom font is not possible either (and even if it was, it's very awkward to go to options, change the font, view a file, then change the font back, if all I want to do is view a single file...)
There's a difference between the "charset" (i.e. what you select in the "font" dialog: central europe, cyrillic, ...) and the "encoding" (i.e. how the special characters are represented in bits and bytes).
I'm often working with files encoded in SJIS, EUC-JP and GB2312 for example. A feature to convert those to unicode "on the fly" (for example by using libiconv) would be very appreciated.
I think that TC should allow to choose both character encoding and font used for displaying (variable or fixed width). For encoding support you can use libiconv library (GNU license).
As long as iconv is LGPL and not GPL, it should be okay to use in TC.
However, since that feature would only need a 1-way mapping from (any codepage)->Unicode/UCS, there is a simpler solution: One would simply need to create such a mapping table for each supported codepage. ISO-8859-X would be very easy to implement, and at least Shift_JIS and EUC-JP wouldn't be that hard either.
With that, there would be no need to add a dependency on a custom library (which I know is something that the author often wants to avoid )
Support for mult encodings will be added to Lister alternative (see signature).
I will not use libiconv, however, I'll use OS functions for that: all needed encodings are implemented there under WinXP+.
It's not that simple. There are many many other locations where the encoding is important:
- search function
- highlighting of text
- printing
- copy to clipboard