From: Brian Candler Date: 2009-08-01T17:50:47+09:00 Subject: [ruby-core:24654] [Bug #1853] Cannot make constants using upper-case extended characters? Issue #1853 has been updated by Brian Candler. Thank you for the link. (I'm in the process of documenting some of this). We may be at cross-purposes over terminology, but when you say "to change this behaviour would be to make the semantics of the program locale dependent", do you mean that the behaviour of an individual Encoding may be locale-dependent? If so, that's new to me. After all, when I put # Encoding: UTF-8 at the top of my source, then the source encoding is fixed at UTF-8. So what I'm asking is, does the behaviour of Encoding::UTF_8 (e.g. which characters are considered upper-case) vary at run-time dependent on the program's locale, in the sense of setlocale(3)? If so, that's new to me, and I'd like to see an example. Until now, I was under the impression that each Encoding had fixed behaviour, and the locale-dependent behaviour arose from Encoding.default_external pointing to different Encodings based on the locale. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1853 ---------------------------------------- http://redmine.ruby-lang.org