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

Joel Brobecker
2014-06-04T13:52:17Z

> The character printed by GDB in this case is out the control of GDB,
> IMO.

IIRC, it is a little bit by ways of how it decodes multibyte characters?

> IOW, we can't tell what character printed is correct and what is
> incorrect. Or we can relax the pattern to match either \242 or 'Â¢'
> (cent sign) in the test. WDYT?

That would have been my first approach, but I would prefer it if
someone who knows better about encodings commented on that. I could
be wrong!

--
Joel