How to get Unicode character in Ruby 1.8.7?
To get the Unicode character in Ruby 1.9.2, I use ord
:
"".ord # => 1103 (It a Russian letter)
How can I get Unicode in Ruby 1.8.7 ?
+7
Misha moroshko
source share2 answers
1103 (It a Russian letter)
Ho..."> To get the Unicode character in Ruby 1.9.2, I use How can I get Unicode in Ruby 1.8.7 ?Geek Answers HandbookHow to get Unicode character in Ruby 1.8.7?
ord
:
"".ord # => 1103 (It a Russian letter)
+7Misha moroshko source share2 answers
All Articles