Re: [ping] [PATCH] Different outputs affected by locale

Pedro Alves
2014-06-16T16:23:16Z

On 06/16/2014 04:40 PM, Eli Zaretskii wrote:

>>> With you so far. But note that on Windows, even the above does not
>>> guarantee "stable output", because the console codepage is not changed
>>> by 'setlocale',
>>
>> I guess the harmness could run gdb under chcp 65001 or some such.
>
> You could, but it won't help, really. It's a long story, but support
> for UTF-8 on a Windows console is pathetic. With enough trouble
> (which will need source changes in GDB and in Readline), you might
> have European characters displayed correctly, if you also change the
> console font to Lucida Console. But anything beyond European
> characters simply cannot be displayed, because the font doesn't have
> them.

OK, I was focusing more on the "stable output" aspect than
the specific codepage.

--
Pedro Alves