From: Yukihiro Matsumoto Date: 2007-11-20T15:06:54+09:00 Subject: Re: Encoding Confusion... Hi, In message "Re: Encoding Confusion..." on Tue, 20 Nov 2007 10:12:11 +0900, Wolfgang N�dasi-Donner writes: |irb(main):001:0> "%2X" % "\C-\M-a".ord |=> "81" | |It produces a 8 bit character. The same is true for... | |irb(main):002:0> "%2X" % "\M-\C-a".ord |=> "81" | |..., which produces exactly the same. My confusion comes from |the situation, that two Ruby programs which only one difference |inside a String expression, generate two different encodings |for the same resulting string. We consider it a bug. We try to fix it soon. matz.