Skip to content

Non-ASCII character in header file #40

@thestumbler

Description

@thestumbler

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions