From: Yukihiro Matsumoto Date: 2008-10-15T02:11:22+09:00 Subject: [ruby-core:19333] Re: Can I confirm a change to source file encoding 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 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.