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 -

java - Unable to make sub reports with Jasper -

Integrity error when loading fixtures for Selenium testing in Django -