-
-
Notifications
You must be signed in to change notification settings - Fork 674
Closed
Labels
bugThis has been identified as a bugThis has been identified as a bugplatform:windowstopic:buildsystemRelated to the buildsystem or CI setupRelated to the buildsystem or CI setup
Description
Godot version
4.1
godot-cpp version
4.1
System information
windows 10 Chinese language
Issue description
There are U2022 character •
in RichTextLabel, which is not compatible with GBK encoding.
There will be a warning c4819 indicating that there are characters that cannot be represented on the current Code page 936(default in Chinese system).Then it leads to a series of compilation errors.
Adding /source-charset:utf-8
to cxxflags can solve the problem.
Steps to reproduce
1.Code page is 936(Using chcp 65001
command may still cause errors, but I can't remember clearly).
2.Using msvc compiler.
Minimal reproduction project
N/A
Metadata
Metadata
Assignees
Labels
bugThis has been identified as a bugThis has been identified as a bugplatform:windowstopic:buildsystemRelated to the buildsystem or CI setupRelated to the buildsystem or CI setup