Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to convert iso-8859-1 to utf-8 in java

byte[] utf8 = ...
byte[] latin1 = new String(utf8, "UTF-8").getBytes("ISO-8859-1");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #java
ADD COMMENT
Topic
Name
3+9 =