From: Yukihiro Matsumoto Date: 2008-03-19T14:14:34+09:00 Subject: Re: Two questions on Encoding#dummy Hi, In message "Re: Two questions on Encoding#dummy" on Wed, 19 Mar 2008 12:43:37 +0900, Dave Thomas writes: |First, is this description about right? | |> A dummy encoding is used as the basis for other encodings, but |> should not itself be used to encoding strings. Dummy encodings are placeholders for encodings that cannot be handled properly by the current mechanism of Ruby M17N, probably due to their statefullness. Example of those encoding is ISO-2022-JP. |Second, should this happen? | |irb(main):012:0> Encoding::CP51932.dummy? |TypeError: can't convert Encoding into String | from (irb):12:in `dummy?' | from (irb):12 | from /usr/local/rubybook/bin/irb:12:in `
' It's a bug. Nobu just fixed it. matz.