Re: Unicode to CP1252

Bernhard Walle <[email protected]>
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
tblue schrieb:
> 
>  I need to convert a windows ANSI test file to unicode in Linux. Later the 
> data needs to be saved from Unicode to ANSI.
> 
> Can anyone recommend a function call that would allow me to achieve this. An
> example code showing how to use it would be a bonus.

iconv_open(), iconv() and iconv_close(). See the manual pages for a
description. I guess with Unicode you mean UTF-8.



Regards,
Bernhard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.