首页 > 解决方案 > 在蓝牙打印机上以阿拉伯​​语打印

问题描述

我使用蓝牙打印机,但不支持阿拉伯语我尝试了很多方法,也使用了 UTF-8,但不起作用有没有办法在打印中显示阿拉伯语?

    String msg =  "مرحبا";
                //msg= URLEncoder.encode(msg,"UTF-8");
                //StandardCharsets.UTF_8
                //"UTF-8"
                outputStream.write(msg.getBytes("UTF-8"));

标签: android-studio

解决方案


推荐阅读