[PATCH] linux: Add UTF-8 encoding support.

Shih-Yuan Lee (FourDollars) fourdollars at gmail.com
Tue Sep 3 03:00:08 PDT 2013


Hi Martin,

On Tue, Sep 3, 2013 at 5:52 PM, Martin Pitt <martin.pitt at ubuntu.com> wrote:
> Hello Shih-Yuan,
>
> Shih-Yuan Lee (FourDollars) [2013-09-03 17:44 +0800]:
>> +     setlocale(LC_ALL, "en_US.utf8");
>
> Can you please describe further what this patch should achieve? It's
> not at all guaranteed that this locale is available.

It is because when I run ‘/usr/lib/upower/upowerd -v` and `upower --dump`.
The UTF-8 string can not be shown correctly.
Is there other general UTF-8 locale we can use?

Regards,
$4


More information about the devkit-devel mailing list