Java - Turning Integers into Character with a Charset -



need convert int char representation. did :

char c = (char) integer; 

but doesn’t support charset. thought using this:

string s = new string(byte[], charset); 

or :

charset.forname("utf-8").newdecoder().decode(bytebuffer); 

but both of them needs bytes. how can turn int char charset?
thank in advance.


Comments

Popular posts from this blog

Lists in Python -

android - can not access to progress bar in an other activity -

java - Vaadin 7 Pass Data Between Views -