Printing UTF-8 in C

Printing UTF-8 in C

Ori Idan ori at helicontech.co.il
Sun Jan 12 20:34:07 IST 2014


I need to print several Hebrew characters (UTF-8) to the terminal.
My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal, however
printing from C gives me Chinese characters.
My question is how to print one character such as 'א' to the terminal.

-- 
Ori Idan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20140112/3b805462/attachment.html>


More information about the Linux-il mailing list