[haiku-development] Re: Terminal Encoding

  • From: "Stefano Ceccherini" <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 4 Jun 2008 13:31:03 +0200

2008/6/4 dolgov <dolgov@xxxxx>:
>
>> Howdy,
>>
>> I'm currently rewriting parts of the Terminal and started wondering what
>> the exact purpose of the "Font Encoding" is. The current implementation uses
>> the set encoding for the internal representation of characters. It converts
>> them from/to UTF-8 when communicating with the PTY. The only point when the
>> encoding is actually used is when the characters are drawn. So the following
>> questions arise:
>>
> IIRC, original BeOS terminal converted also input. I had evidence for that
> when helped my german friends to get rid of file with "bad" name containing
> umlauts with "wrong" encoding set.
>
> But I'm wondering if Haiku-s default shell (bash) has proper UTF-8 support
> now. In BeOS I used bash with utf-8 patches from some coders from Poland,
> IIRC.

No, it doesn't.
See the various bug reports (#215, #1855). We need to compile the intl
and locale support of glibc to fix that.

Other related posts: