On Fri, 7 Jul 2023 15:39:52 +0000, kekronbekron wrote:
>
>I suppose... even if the char is different in different code pages, it is ok.
>Don't we just need some special char that's available in all known & used code 
>pages?
>
I extended Matt's test. The 3 national characters plus the 12 special characters
in the JCL Ref. have identical code points in 037, 500, and 1047.

The Ref. doesn't mention "037" anywhere.  I suspect the authors are in denial
concerning the existence of other code pages.

>$ in US, or £ in UK code page, whether they look the same or not in hex, isn't 
>the aim to find a special char that works in "all" code pages?
>
There's a peculiar hazard in using the same code point to represent different 
local currency symbols.
May I choose how to print my payment coupon?


>------- Original Message -------
>On Thursday, July 6th, 2023 at 9:51 PM, Matt Hogstrom wrote:
>> 
>> I did some testing by creating a file in USS in CP047 with the characters 
>> “@#$” and then used iconv to convert them to a variety of code pages and 
>> compare the results. Some conversions failed but when looking at the code 
>> pages that failed they didn’t appear to me to be what I would consider 
>> mainstream. For the ones I’m familiar with they all converted correctly.

I'd take a neutral view and say "similarly" rather than "correctly".

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to