printing - print thailand characters on bluetooth printer android -


i need print thailand characters through bluetooth printer. if print data android console it's displays in thai language.

but same data when sent bluetooth printer, prints junk value.

i have tried

encoding charset.forname("utf-8").encode("วันที่").array();  string str = "วันที่".getbytes(charset.forname("ts-620")). 

but nothing seems working fine. can 1 guide me on this.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -