Skip to main content

Convert Int to Special Char ISO 8859-1 in java

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
aryapramudya
Offline
Joined: 2013-11-04

How to convert integer to special character ASCII ISO 8859-1 in java, I try convert that, but there are some numbers that are not readable by his example with numbers 141, 143, 144, 157.255, how I can convert all number to special Character ASCII ISO 8859-1 ?

Thank You,
Arya Pramudya

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
arnavkumartechno
Offline
Joined: 2013-10-25

char c3= (char)122 ;
int i2=(int)'A' ;

this way you can convert your numbers into ASCII codes....