<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Writing hebrew to the terminal is a bad idea because terminals do not support BiDi reordering.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
That said, doing "cat small-hello.utf8"[1] works for me in gnome-term (though it is reversed). No special environment variables were defined.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
Regards,<br>Dov<br><br>[1] <a href="http://paps.sourceforge.net/small-hello.utf8">http://paps.sourceforge.net/small-hello.utf8</a><br><br></div><div style id="divCleekiAttrib"></div><div style id="divCleekiAttrib"></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jan 12, 2014 at 8:34 PM, Ori Idan <span dir="ltr"><<a href="mailto:ori@helicontech.co.il" target="_blank">ori@helicontech.co.il</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I need to print several Hebrew characters (UTF-8) to the terminal.<div>My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal, however printing from C gives me Chinese characters.</div>
<div>My question is how to print one character such as 'א' to the terminal.</div><span class="HOEnZb"><font color="#888888">
<div><br></div><div>-- </div><div>Ori Idan</div><div><br></div></font></span></div>
<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br></div>