Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Unicode and sprintf method
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bojan Mihelac  
View profile  
 More options Jun 17 2006, 4:11 pm
From: Bojan Mihelac <li...@mihelac.org>
Date: Sun, 18 Jun 2006 05:11:55 +0900
Local: Sat, Jun 17 2006 4:11 pm
Subject: 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 Mihelac

--
Bojan Mihelac
Informatika Mihelac, Bojan Mihelac s.p.  |  www.informatikamihelac.com
-> tools, scripts, tricks from our code lab: http://source.mihelac.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Battley  
View profile  
 More options Jun 17 2006, 4:24 pm
From: "Paul Battley" <pbatt...@gmail.com>
Date: Sun, 18 Jun 2006 05:24:32 +0900
Local: Sat, Jun 17 2006 4:24 pm
Subject: Re: Unicode and sprintf method
On 17/06/06, Bojan Mihelac <li...@mihelac.org> 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.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bojan Mihelac  
View profile  
 More options Jun 17 2006, 4:32 pm
From: Bojan Mihelac <li...@mihelac.org>
Date: Sun, 18 Jun 2006 05:32:35 +0900
Local: Sat, Jun 17 2006 4:32 pm
Subject: Re: Unicode and sprintf method

Paul Battley wrote:
> On 17/06/06, Bojan Mihelac <li...@mihelac.org> 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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Julian 'Julik' Tarkhanov  
View profile  
 More options Jun 18 2006, 2:00 pm
From: Julian 'Julik' Tarkhanov <list...@julik.nl>
Date: Mon, 19 Jun 2006 03:00:06 +0900
Local: Sun, Jun 18 2006 2:00 pm
Subject: Re: Unicode and sprintf method

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

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

--
Julian 'Julik' Tarkhanov
please send all personal mail to
me at julik.nl


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google