From: Stefan Schmidt Date: 2008-07-11T00:39:01+09:00 Subject: Re: String#upcase/downcase with UTF-8 strings in Ruby 1.9 > > So basically the Python guys are going down a wrong route ? > > > > # -*- coding: utf-8 -*- > > import string > > print string.upper(u"aoue����") > > print string.lower(u"AOUE����") > > > > works as expected. > > > > Cheers, Stefan > > > No. > They're going down a different route. > Seriously, the language handling is something that could easily be > handled by extensions. It does not need to be a core part of the > language. Is Nikolai Weibull's Ruby Character Encodings Library [1] currently the best way to go? Stefan [1] http://bitwi.se/software/ruby/character-encodings/