Write comma separated unicode in android textview -


hello friends have 1 hexadecimal code

string ss=54,44,24 

i want wrote in android below

text.settext("\u54\u44\u24"); 

but show me error "invalid unicode" idea how can write it?

please try this:

mport org.apache.commons.codec.binary.hex; ...  string hexstring = hex.encodehexstring(mystring.getbytes(/* charset */)); 

Comments

Popular posts from this blog

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -