Skip to content

Instantly share code, notes, and snippets.

@ollie
Created April 12, 2011 12:06
Show Gist options
  • Save ollie/915391 to your computer and use it in GitHub Desktop.
Save ollie/915391 to your computer and use it in GitHub Desktop.
Multibyte string operations
'asdščěřžýasd'.mb_chars.upcase
# or
require 'unicode'
Unicode.upcase 'asdščěřžýasd'.upcase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment