Jens, thanks, this is a very promising hint.
http://git.savannah.gnu.org/cgit/libiconv.git/tree/NOTES has more details:
[QUOTE]Q: How do I add a new character set?
A: 1. Explain the “why” in this file, above.
2. You need to have a conversion table from/to Unicode. Transform it into
the format used by the mapping tables found on ftp.unicode.org: each line
contains the character code, in hex, with 0x prefix, then whitespace,
then the Unicode code point, in hex, 4 hex digits, with 0x prefix. ‘#’
counts as a comment delimiter until end of line.
Please also send your table to Mark Leisher mleisher@crl.nmsu.edu so he
can include it in his collection.
3. If it’s an 8-bit character set, use the ‘8bit_tab_to_h’ program in the
tools directory to generate the C code for the conversion. You may tweak
the resulting C code if you are not satisfied with its quality, but this
is rarely needed.
If it’s a two-dimensional character set (with rows and columns), use the
‘cjk_tab_to_h’ program in the tools directory to generate the C code for
the conversion. You will need to modify the main() function to recognize
the new character set name, with the proper dimensions, but that shouldn’t
be too hard. This yields the CCS. The CES you have to write by hand.
4. Store the resulting C code file in the lib directory. Add a #include
directive to converters.h, and add an entry to the encodings.def file.
5. Compile the package, and test your new encoding using a program like
iconv(1) or clisp(1).
6. Augment the testsuite: Add a line to tests/Makefile.in. For a stateless
encoding, create the complete table as a TXT file. For a stateful encoding,
provide a text snippet encoded using your new encoding and its UTF-8
equivalent.
7. Update the README and man/iconv_open.3, to mention the new encoding.
Add a note in the NEWS file.
[/QUOTE]
Now the translation file is no problem, already have one.
As SLES 11 does not include 8bit_tab_to_h, we need to get libiconv compiled.
Somehow I cannot get libiconv compiled: version libiconv-1.14 does not have a ./configure file included,
and ./configure present in libiconv-1.11 will not complete successfully:
[QUOTE]checking for strerror… yes
checking for readlink… yes
checking for ssize_t… yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating srclib/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating man/Makefile
config.status: creating tests/Makefile
config.status: error: cannot find input file: include/iconv.h.build.in
[/QUOTE]
Hm, should I try more versions of libiconf?
Tx, Thomas