Skip to content

Instantly share code, notes, and snippets.

@metalelf0
Created February 24, 2011 10:05
Show Gist options
  • Save metalelf0/842005 to your computer and use it in GitHub Desktop.
Save metalelf0/842005 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'stringex'
strings = ["Bolesława", "Poznań", "Stańczyk", "Šaković" ]
strings.each do |string|
puts "#{string} => #{string.to_ascii}"
end
# Bolesława => Boleslawa
# Poznań => Poznan
# Stańczyk => Stanczyk
# Šaković => Sakovic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment