From: Caleb Clausen Date: 2010-05-08T23:36:33+09:00 Subject: [ruby-core:30103] Re: suggestion: switch default name for BINARY encoding On 5/8/10, Benoit Daloze wrote: > On 8 May 2010 00:50, Roger Pack wrote: >> Situation: >> >> Currently the encoding ASCII-8BIT "means" ascii and binary. >> >> There is also the BINARY encoding, which aliases ASCII-8BIT. >> >> Confusion is caused by the fact that by default, strings' encoding is >> ASCII-8BIT, which actually means ASCII *and* BINARY. Beginners have >> no idea what ASCII-8BIT means. But they do understand BINARY. >> >> Suggestion: use BINARY as the default encoding name with ASCII-8BIT as >> the alias. Then the default encoding is BINARY (which people can >> understand without as much difficulty). >> > I agree, this would be more expected than ASCII-8BIT. BINARY is the name in common use for this concept. I think it should be the primary name used by ruby as well.