Read a file with a specific encoding in C?

Posted by Daziplqa on Stack Overflow See other posts from Stack Overflow or by Daziplqa
Published on 2010-05-16T21:50:49Z Indexed on 2010/05/16 22:00 UTC
Read the original article Hit count: 157

Filed under:
|

Hi, I've a file that was written on windows with encoding WINDOWS-1256, and I need to write a C program that reads bytes from this file and write them back to a new file with UTF-8 encoding.

How to read a file with a specific encoding in C ??

© Stack Overflow or respective owner

Related posts about encoding

Related posts about c