From: Yui NARUSE Date: 2011-04-08T14:25:59+09:00 Subject: [ruby-core:35659] [Ruby 1.9 - Bug #4549] Can't start class names with non us-ascii chars Issue #4549 has been updated by Yui NARUSE. Use decomposed string. In this case, class A\u030Aa\u0308o\u0308 end Ruby considers it is begin with ASCII uppercased character: constant. ---------------------------------------- Bug #4549: Can't start class names with non us-ascii chars http://redmine.ruby-lang.org/issues/4549 Author: Carl H��rberg Status: Rejected Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.2p180 (2011-02-18) [i386-cygwin] irb(main):003:0> #encoding: UTF-8 irb(main):004:0* class ������; end SyntaxError: (irb):4: class/module name must be CONSTANT class ������; end ^ from /usr/local/bin/irb:12:in `
' -- http://redmine.ruby-lang.org