I need help converting the code, please teach me

I need help converting the code in kodular, please teach me
convert-hexadecimal-to-utf8 "
4CC3AA204E677579E1BB856E20486FC3A06E67204B68616E67![1|690x429]

Screenshots:!

Is Utf-8 and ASCII are same?? :thinking: :thinking:

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


Thank you for helping me but I have tried it and still have the error. do you know this error.

1 Like

Can you please show the error?? And please tick solution if the answer is solution.

1 Like