I need help converting the code in kodular, please teach me
convert-hexadecimal-to-utf8 "
4CC3AA204E677579E1BB856E20486FC3A06E67204B68616E67![1|690x429]
Is Utf-8 and ASCII are same??
public String HexToUtf(String hexString) {
StringBuilder output = new StringBuilder("");
String h=hexString;
for (int i = 0; i < h.length(); i += 2) {
String str = h.substring(i, i + 2);
output.append((char) Integer.parseInt(str, 16));
}
return output.toString();}
This is the code i used to make this converter extension, you can try it.:com.amlin.test.hexToAscii.aix (5.9 KB)
2 Likes
1 Like
Can you please show the error?? And please tick solution if the answer is solution.
1 Like