* Unicode to CP1252
@ 2009-10-08 11:48 tblue
2009-10-08 18:23 ` Bernhard Walle
0 siblings, 1 reply; 2+ messages in thread
From: tblue @ 2009-10-08 11:48 UTC (permalink / raw)
To: linux-c-programming
Hi,
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.
Thankyou.
Regards
Blue.
--
View this message in context: http://www.nabble.com/Unicode-to-CP1252-tp25802503p25802503.html
Sent from the linux-c-programming mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Unicode to CP1252
2009-10-08 11:48 Unicode to CP1252 tblue
@ 2009-10-08 18:23 ` Bernhard Walle
0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Walle @ 2009-10-08 18:23 UTC (permalink / raw)
To: tblue; +Cc: linux-c-programming
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-08 18:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-08 11:48 Unicode to CP1252 tblue
2009-10-08 18:23 ` Bernhard Walle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).