[fpc-pascal] charset conversion

Dominique Leducq dleducq at magellan-ing.fr
Thu Dec 7 14:11:15 CET 2006


Hello folks,

I need to do some conversion from one character set encoding, given by 
its name (e.g. value of encoding attribute in XML header), to another 
(used internally, based on locale), and back.
I know of iconv on Linux/Unix OSes, but I would like to do it in a 
portable manner, if possible.
Do you know an existing solution ?
I saw there is a 'charset' unit in the RTL of FPC, but it is not 
documented, ant it is not yet very clear to me how to use it or even if 
it does what I need...

Dominique.





More information about the fpc-pascal mailing list