+ 1
How to parseInt string of UTf8 text file in java
I want to Integer.parseInt (String) string is an id number located in the beginning of each line in txt file, however when I do it with utf8 txt file, error as NotNumberFormat extension appears.
1 Respuesta
+ 3
String someString = "VGhpcyBpcyBhb...";
byte[] asByteArray = someString.getBytes(StandardCharSets.UTF_8);
String base64EncodedByteArray = encoder.encode(asBytArray);