From: Bojan Mihelac Date: 2006-06-18T05:32:35+09:00 Subject: Re: Unicode and sprintf method Paul Battley wrote: > On 17/06/06, Bojan Mihelac wrote: >> I noticed that they does not work (ehdn used with jcode), I guess it's >> because sprintf calls size and not jsize method of string, and jcode >> does not redefine sprintf (and many other methods). >> >> Is that true and is there any easy tip at least for sprintf method. > > Can you show a short example of the problem? > > Paul. > > > > sure, sprintf("%-10.10s", "ŠĐČĆŽšđčćž") should return same string but they get cut to 5 characters only. These are unicode characters for central european languages. best regards, Bojan M. -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org