Answers for "how to convert iso-8859-1 to utf-8 in java"

0

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

byte[] utf8 = ...
byte[] latin1 = new String(utf8, "UTF-8").getBytes("ISO-8859-1");
Posted by: Guest on July-08-2020
0

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

byte[] latin1 = ...
byte[] utf8 = new String(latin1, "ISO-8859-1").getBytes("UTF-8");
Posted by: Guest on July-08-2020

Code answers related to "how to convert iso-8859-1 to utf-8 in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language