[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#680648: [BRLTTY] Bug#680648: brltty: A new accent problem



Dave Mielke, le Sat 07 Jul 2012 14:57:00 -0400, a écrit :
> [quoted lines by Samuel Thibault on 2012/07/07 at 15:10 -0300]
> 
> >> If yes, do we know what it's being translated to?
> >é 
> 
> That's what it's supposed to be. I guess I should've asked if we know what it's 
> being mistranslated to?

⠢⠢

> >Except that the end result is not correct for some reason.
> 
> Is there a problem if the .po file specifies:
> 
>    "Content-Type: text/plain; charset=UTF-8\n"
> 
> but the user isn't using a UTF-8 locale?

No, see man gettext: it translates into the locale charset if needed.

> In other words, I'm theorizing that our translations are stored - and returned 
> - in UTF-8,

Translations are always returned in the current locale (if any).

> but mbstowcs() is using the locally-specified system encoding.

Samuel



Reply to: