Hi,
In message "Re: [ruby-core:19332] Can I confirm a change to source file encoding"
on Wed, 15 Oct 2008 01:15:03 +0900, Dave Thomas <dave / pragprog.com> writes:
|A month ago, if I had
|
| # encoding: utf-8
| p "cat".encoding
|
|it would output US-ASCII, because the string "cat" only had 7-bit
|characters.
|
|Now it reports UTF-8.
|
|Is this intentional? (It's fine if it is: I just need to document it
|as such)
It's intentional. Sorry for the last minute changes.
matz.