Printing UTF-8 in C

Printing UTF-8 in C

Eli Zaretskii eliz at gnu.org
Sun Jan 12 22:56:38 IST 2014


> From: Ori Idan <ori at helicontech.co.il>
> Date: Sun, 12 Jan 2014 20:46:50 +0200
> 
> > Is the C source stored on disk in UTF-8 encoding?
> >
> ‎Yes but what's the difference? latin characters in UTF-8 are the same in
> latin1 encoding and UTF-8

No, Latin-1 and UTF-8 encodings for Latin characters are different.
You are mixing UTF-8 encoding with Unicode codepoints that UTF-8
encodes.



More information about the Linux-il mailing list