1

私は文字列を持っています:

l="\u00d0\u00a2\u00d0\u00b0".

バイナリデータに変換したい。私はこれを試しました:

int c = Integer.parseInt(l,16);
System.out.println(Integer.toHexString(c));

しかし、私はエラーが発生します:

" Exception in thread "main" java.lang.NumberFormatException: For input string" exception. 
4

0 に答える 0