From: duerst@... Date: 2014-07-23T11:06:23+00:00 Subject: [ruby-core:63965] [ruby-trunk - Bug #3376] russian support Issue #3376 has been updated by Martin D��rst. Related to Feature #10085: Add non-ASCII case conversion to String#upcase/downcase/swapcase/capitalize added ---------------------------------------- Bug #3376: russian support https://bugs.ruby-lang.org/issues/3376#change-47985 * Author: Yury Korolev * Status: Closed * Priority: Normal * Assignee: Yui NARUSE * Category: M17N * Target version: 1.9.2 * ruby -v: ruby 1.9.2dev (2010-05-31 revision 28117) [x86_64-darwin10.3.0] * Backport: ---------------------------------------- =begin 1. String#upcase/String#downcase don't work with russian characters ruby-1.9.2-preview3 > "������������".upcase => "������������" ruby-1.9.2-preview3 > "������������".downcase => "������������" 2. Regex doesn't work with POSIX bracket classes ruby-1.9.2-preview3 > "������������" =~ /[:alpha:]/ => nil It's working with unicode groups ruby-1.9.2-preview3 > "������������" =~ /\p{L}/ => 0 3. Negated unicode groups don't work SyntaxError: (irb):13: invalid character property name {L}: /\P{L}/ from /Users/yury/.rvm/rubies/ruby-1.9.2-preview3/bin/irb:17:in `
' =end -- https://bugs.ruby-lang.org/