in reply to how to change unicode string to byte array ?
This no such byte array. They seem to be HTML entities, i.e.: html escaped versions of the characters. It looks like you have a bigger problem. It'll be better to fix the communication between your program (i.e.: server) and the client to use utf8 and also be sure that your program and the database talks in utf8 too...