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

--- Comment #7 from Steve Kargl <kargl at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #5)
> So, does it have all the CP1137 etc. encodings and just renames CP1140
> (which is what is present e.g. on glibc linux) to CP01140, or always uses 5
> digit CP names, something else?

Yes, it has CP1137, and many other 3, 4, and 5 digit encodings.

% iconv -l | grep 1137
CP1137 IBM-1137 IBM1137

I forgot to mention that iconv support on FreeBSD is 
currently from GNU libiconv 1.18.  I assume that this is
what is in glibc linux.  

> Anyway, the normally tests which use -fexec-charset=XXYYZZ or similar
> options are guarded with
> { dg-require-iconv "XXYYZZ" }

Thanks for the pointer.  I was unaware of dg-require-iconv.
My kludgy patch was to demonstrate that gcobol passes all
tests in its testsuite if a "correct" CPxxxx is used.

Reply via email to