Results 1 to 5 of 5
- 09-06-2008, 08:09 AM #1
Member
- Join Date
- Jul 2008
- Posts
- 3
- Rep Power
- 0
convert fullwidth characters into halfwidth automatically
Hi All,
Any one knows how to convert a fullwidth characters to halfwidth characters.
I want to convert my price value (Which is declared as BigDecimal) and
quantity ( which is specified as double) to half width character.
And also I want to know how to test these data.I am using struts code
Thanks in advance..
Nimitha
- 09-06-2008, 10:07 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Are you talking about normalizing? There an API for normalizing in Suns' web site. Check on the Suns' tutorial.
- 09-06-2008, 10:19 AM #3
Member
- Join Date
- Jul 2008
- Posts
- 3
- Rep Power
- 0
convert fullwidth characters into halfwidth automatically
Hi,
Thanks for your reply.
It is not related to normalization.It is related to unicode characters using
some conversion method.
Nimitha
- 09-06-2008, 02:16 PM #4
Some confusion in your terms. Numerical values do not have widths.
Printed characters have width. Use of fonts can change the width of printed output.
Are you refering to the number of bytes to hold data for example in a file?
Unicode takes two bytes for a character. ASCII takes 1 byte.
- 09-07-2008, 03:58 PM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Are you talking about character width of UNICODE and ASCII? Norm give the answer on his last post. Better to explain it more. What conversion are you looking to do using UNICODE characters?
Similar Threads
-
Filled the key values and submitted in site automatically...Help
By 82rathi.angara in forum New To JavaReplies: 6Last Post: 08-06-2008, 09:27 AM -
Automatically File Upload to server ...Help Needed
By 82rathi.angara in forum New To JavaReplies: 6Last Post: 08-05-2008, 07:13 AM -
Automatically add method to all classes in package
By skaspersen in forum EclipseReplies: 2Last Post: 07-04-2008, 12:33 PM -
Call a Method Automatically
By rhm54 in forum New To JavaReplies: 4Last Post: 02-07-2008, 08:51 AM -
Convert some special characters stored in a MySql
By romina in forum JDBCReplies: 1Last Post: 08-07-2007, 05:32 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks