Skip to content

Conversation

@wofsauge
Copy link
Collaborator

Added German translation and some tools that make working with the translations a bit easier.

@frto027
Copy link
Collaborator

frto027 commented Aug 26, 2025

The encoding of these file should be UTF8 with BOM. Please keep in mind to add a BOM b"\xef\xbb\xbf" at the beginning of the file when processing files containing utf8 characters :)
When we ask the MSVC compiler to output a string in utf-8 encoding to the generated binary with u8 prefix, MSVC also needs to know what the input encoding of the current file is.
For historical reasons, MSVC and VisualStudio do not always use utf8 encoding to parse a CPP source. According to this article, maybe Microsoft has recently improved its detection algorithm, but the default user page will definitely cause garbled characters.

@frto027
Copy link
Collaborator

frto027 commented Aug 26, 2025

oh, it already have BOM. I didn't see it clearly, please ignore the previous comment.

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

Successfully merging this pull request may close these issues.

3 participants