Tuesday, October 26, 2010

Re: Currency Symbol in NumberFormat

Hi Jim,

Thanks for looking into it. But still I have a problem, when in the
custom format I use just ¤ then in the output I am getting ? and when
I use ¤ then I get US$. Note that I do have UTF-8 encoding in the
browser.

On Oct 27, 1:23 am, Chris Conroy <con...@google.com> wrote:
> Jim,
>
> Thanks for pointing out this problem. jat has just committed a fix:http://code.google.com/p/google-web-toolkit/source/detail?r=9150
>
> On Tue, Oct 26, 2010 at 3:47 AM, Jim Douglas <jdou...@basis.com> wrote:
> > I think you're getting thrown by a small character encoding error on
> > that documentation page:
>
> >http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g...
>
> > The page will display correctly if you force it to display in UTF-8.
> > To do that, select something like View->Encoding->Unicode (UTF-8) from
> > your browser menu.
>
> > The pattern character is exactly what you expect it to be.  To see a
> > live sample, go here and select the Currency pattern from the list:
>
> >http://gwt.google.com/samples/Showcase/Showcase.html#!CwNumberFormat
>
> > On Oct 25, 11:51 pm, PARAG <paragbchaudh...@gmail.com> wrote:
> > > Hi,
>
> > > I want to use custom number format which may contain currency symbol
> > > for perticular locale. I found that with the
> > > com.google.gwt.i18n.client.NumberFormat class we can achieve this but
> > > the symbol for the currency is ¤ instead of ¤ in java. Note that the
> > > unicode used is same as that of the java (\u00A4). Any idea about
> > > this?
>
> > > Thank you.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubscribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment