Unicode and sprintf method

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.

thanks,
Bojan M.

On 17/06/06, Bojan M. [email protected] 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.

Paul B. wrote:

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.

On 17-jun-2006, at 22:32, Bojan M. wrote:

sure,

sprintf("%-10.10s", “ŠĐÄ?Ä?ŽšÄ?čÄ?ž”)

should return same string but they get cut to 5 characters only.
These are unicode characters for central european languages.

Aie. We gotta take care of that now in our plugin. Thx for the headsup.