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

Non-ASCII character in header file #40

Open
thestumbler opened this issue Jan 7, 2021 · 0 comments
Open

Non-ASCII character in header file #40

thestumbler opened this issue Jan 7, 2021 · 0 comments

Comments

@thestumbler
Copy link

I noticed a warning on libserialport.h when compiling with VS2019. Digging deeper, I saw that the bash utility file reports the format as UTF-8, whereas all the other header and source files are reported as ASCII. Digging even deeper, it seems that in line 233, the leading letter s in the word sets:

* any time. If your existing code sets @c O_NONBLOCK, you should use

is not actually an s, but rather Unicode point u0455, which is the Cyrillic small letter DZE.
This letter displays as a normal Latin letter s, so it isn't obvious at first glance.

Is this a glitch?

-Chris

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

1 participant