On 2015/12/15 13:06, NARUSE, Yui wrote:
>> So, we should name as IBM037 for the realname, and cp037,
>> ebcdic-cp-{us,ca,wt,nl} and csIBM037 for aliese.  Right?
>
> The canonical name of Ruby's encoding should be Preferred MIME Name.

I agree with the policy. But not all encodings have a Preferred MIME 
Name (because not all encodings are preferred by MIME :-).
IBM037 doesn't have a Preferred MIME Name, so I'm taking the name in the 
Name column in the IANA registry 
(http://www.iana.org/assignments/character-sets/character-sets.xhtml), 
namely 'IBM037', for Ruby's canonical name.

I'm also just defining "ebcdic-cp-us" as an alias. If we get requests 
for more aliases, we can always add them later. In general, Ruby has 
much less aliases than the IANA registry.

Together with Kimihito Matsui, a student of mine, I also cross-checked 
to make sure that the data I have (from Andrea Ribuoli) is exactly the 
same as that at https://en.wikipedia.org/wiki/EBCDIC_037.

Regards,   Martin.

> 2015-12-15 9:28 GMT+09:00 U.NAKAMURA <usa / garbagecollect.jp>:
>> Hi,
>>
>> In message "[ruby-core:72124] Re: [ruby-cvs:60264] duerst:r53112 (trunk): * enc/ebcdic.h: new dummy encoding EBCDIC-US"
>>    on Tue, 15 Dec 2015 08:39:26 +0900, duerst / it.aoyama.ac.jp wrote:
>>>> But I want to know where the name 'EBCDIC-US' came from.
>>>
>>> The name came from http://www.iana.org/assignments/character-sets/character-sets.xhtml, as MIB 2078.
>>
>> Oh, I've just missed it ;-(
>>
>>
>>>> I guess this is the encoding that is named as 'IBM037' by IANA,
>>>> and it's aliases are 'ebcdic-cp-us' and so on.
>>>
>>> Looking at http://tools.ietf.org/html/rfc1345, the code conversion is indeed much closer to ebcdic-cp-us than to EBCDIC-US. So using EBCDIC-US is definitely wrong. Thanks for pointing this out.
>>
>> Thank you for invesgating!
>>
>> So, we should name as IBM037 for the realname, and cp037,
>> ebcdic-cp-{us,ca,wt,nl} and csIBM037 for aliese.  Right?
>>
>>
>> Regards,
>> --
>> U.Nakamaura <usa / garbagecollect.jp>
>>
>
>
>