From: Nikolai Weibull Date: 2007-11-01T00:15:29+09:00 Subject: Re: %s and utf8 ? On 10/31/07, Wolfgang N�dasi-Donner wrote: > Martin Duerst schrieb: > > I think that eventually, somebody will come up with a solution > > for this that at least covers the Western and East Asian cases, > > but that may take some time. > Unfortunately it is even difficult in european context > In any Unicode encoding it is possible, that several codepoints together form a > character. To solve all this details, the processing method must have access to > the character description tables, and use a more complicated algorithm. I don't > believe that there will be a general solution in the near future. Dealing with grapheme clusters isn't /that/ difficult. (And you can always normalize to get decent results for most European scripts.) If such handling isn't included in mainline Ruby, it will have to provide hooks for a library to extend the handling of expandos. You should be able to require 'encoding/unicode' and have %*s work.