>> text = "Grüße"
>> text.each_char.select{|i| i.bytesize != i.chars.count}.uniq
=> ["ü", "ß"]
Reposted from notes.it-jobs-und-stellen.de
>> text = "Grüße"
>> text.each_char.select{|i| i.bytesize != i.chars.count}.uniq
=> ["ü", "ß"]
Reposted from notes.it-jobs-und-stellen.de