https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120251

--- Comment #4 from Robert Dubner <rdubner at gcc dot gnu.org> ---
The reason for the locale problem is because COBOL has an often-used feature
whereby alphanumeric strings can be set to a figurative constant named
"HIGH-VALUE", which by default is 0xFF.

And, yes, "by default" means it can be set to other values.

Anyway, in testing setting things to HIGH-VALUE, I was simply outputting the
resulting strings to the terminal, and hence running afoul of LOCALE.

These updated tests either have regex that ignores the character positions
generated by the 0xFF characters, or else outputs the hex values of the
characters rather than the chars themselves.

It is my hope that this makes the problem noticed by Andreas go away.  I don't
know how to test for it on my own systems, which are set to "LANG=en_US.UTF-8".

Please let me know the results.

Reply via email to