|
Hi,
I think the browser does not have those char
set, So you need to install those charecters in the browser to support
different Locale's char-set.
Regards, Manoj
----- Original Message -----
Sent: Wednesday, June 12, 2002 7:36
AM
Subject: [jdjlist] Problem displaying
currency symbols
Hi all,
Am facing a problem in dsplaying currency
symbols. Here's a sample jsp page....
- 8<
------------------------------------ <html><head><title>Testing</title></head> <body>
<%
java.text.NumberFormat nf1 =
java.text.NumberFormat.getCurrencyInstance(java.util.Locale.JAPAN); %>
Price
= <%=nf1.format(1234)%> Japanese yen symbol
=<%='\u00A5'%>
</body></head> -- 8<
-------------------------------------
and the result is as
such
Price = �1,234 Japanese yen symbol =�
Can anyone explain
why the � symbol is not shown when using the numberformat to display the
price. Or is there something I've missed out in that case pls tell me
the same.
Actually this is just one example, i will need to display
other currency symbols as well depending on the locale.
btw am
using jdk version 1.3.1.
sarita
__________________________________________________ Do
You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
To
change your membership options, refer to: http://www.sys-con.com/java/list.cfm
To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm
|