Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

接收utf-8乱码 #10

Open
themql opened this issue Sep 5, 2020 · 1 comment
Open

接收utf-8乱码 #10

themql opened this issue Sep 5, 2020 · 1 comment

Comments

@themql
Copy link

themql commented Sep 5, 2020

写keil时用的是utf-8,结果串口助手里乱码了

@movsb
Copy link
Owner

movsb commented Sep 6, 2020

我当时也是在 Windows 上用 Keil 写的,不过一直使用的是 Windows 默认的编码方式,不是 UTF-8。后面切换到其它平台才发现 UTF-8 的重要性,不过已经是很多年后了,没有及时为软件增加 UTF-8 处理的能力。

增加这个能力不算特别复杂,只需要处理一下接收到字节流时的编码即可。cmheia 在他的 fork 中增加过 UTF-8 的处理,见增加UTF-8字节流处理器,后面还有一些修补提交。

我目前没有时间维护这款软件,大家有空的话,可以发一些 merge requests / bugs 修复 给我合并到主分支。

谢谢。

@movsb movsb assigned movsb and unassigned movsb Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants