[Bug c++/88507] utf8 not displayed
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 17 12:46:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88507
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonny Grant from comment #0)
> Hello
>
> This is an typo in the word "string", just reporting as perhaps it could
> show £ correctly, as it does on line 10 error.
But then you couldn't have two separate caret locations pointing to the two
invalid bytes, because it would only occupy a single column. You also assume
the terminal is capable of showing UTF-8 characters.
> Perhaps could also show the
> stray bytes in hex as well? ie "0xF3C2"
I don't see why that would that be an improvement.
More information about the Gcc-bugs
mailing list