Hi Dov,

On Sun, Jan 12, 2014 at 08:53:38PM +0200, Dov Grobgeld wrote:
> Writing hebrew to the terminal is a bad idea because terminals do not
> support BiDi reordering.
> 
> That said, doing "cat small-hello.utf8"[1] works for me in gnome-term
> (though it is reversed). No special environment variables were defined.

But Ori has specifically asked about sending just one character to terminal.  
cat treats everything like binary data.

baruch

> On Sun, Jan 12, 2014 at 8:34 PM, Ori Idan <o...@helicontech.co.il> wrote:
> > 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

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to