I use Bluetooth printer but don't support Arabic I tried many methods and also used UTF-8, but don't work Is there a way to show the Arabic language in print?
String msg = "مرحبا";
//msg= URLEncoder.encode(msg,"UTF-8");
//StandardCharsets.UTF_8
//"UTF-8"
outputStream.write(msg.getBytes("UTF-8"));