Programming & Tools/Android
[Android] HM-10C Soruce 중국어 깨지는 문제
다크쌍피
2016. 9. 20. 11:07
HM-10C 블루투스 소스를 보면 중국어가 다 깨지는 현상이 있는데, UTF-8로 변경을 해도 글자가 깨진다.
이를 해결하는 방법으로 2번 변환 해주면 해결이 된다.
Android Studio에서 해당 소스를 Big5-HKSCS 로 변환을 한번 한 후 다시 GB18030으로 변환을 하면 해당
문자로 표시가 된다.
이 해당 문자를 구글 번역기로 돌린 후 다시 UTF-8로 변경하면 된다.
注册接收的事件 : Register the event received
按钮事件 : Button events
请输入要发送的内容 : Please enter the content to be sent
连接成功,现在可以正常通信! : The connection is successful, we can now communicate properly!
点击按钮 : Click the button
初始化 : initialization
收到数据 : Receive data
可以开始干活了 : You can start work again
断开连接 : Disconnect
连接成功 : connection succeeded
您的设备不支持BLE : Your device does not support BLE
查找BLE设备 : Find BLE device
连接 : connection
断开 : disconnect
搜索 : search for
停止 : stop