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

Issues parsing ProjectSettings with keys in Chinese #49646

Closed
zuiaiyangyang3 opened this issue Jun 16, 2021 · 6 comments · Fixed by #49649
Closed

Issues parsing ProjectSettings with keys in Chinese #49646

zuiaiyangyang3 opened this issue Jun 16, 2021 · 6 comments · Fixed by #49649
Milestone

Comments

@zuiaiyangyang3
Copy link

zuiaiyangyang3 commented Jun 16, 2021

Godot version

3.3.2

System information

win10 64

Issue description

I wrote it in the red circle.
Chinese.
The following error occurred during Android debugging
QQ图片20210616134858

QQ图片20210616134549

Steps to reproduce

Automatically load gd

Minimal reproduction project

No response
Clipboard - 2021年6月15日晚上11点57分

@zuiaiyangyang3
Copy link
Author

bug

@bruvzg
Copy link
Member

bruvzg commented Jun 16, 2021

Is it Android specific or happening on all exports / when running from editor?

"no space left"

This is UTF-8 parsing error. Might be overlong encoding (Is Android using some non-standard UTF-8 variant, like CESU-8?), or it's trying to parse non UTF-8 string as UTF-8 somewhere.

It's hard to tell what's exactly going wrong without a reproduction project.

@timothyqiu
Copy link
Member

timothyqiu commented Jun 16, 2021

Is your project created using the unofficial Chinese Power-up build (中文增强版)?

The official build does not support using arbitrary Unicode as identifier yet, see godotengine/godot-proposals#916

@zuiaiyangyang3
Copy link
Author

您的项目是使用非官方的中国电源生成(新版)创建的吗?

官方版本不支持使用任意的 Unicode 作为标识符, 见戈多工程 / 戈多特建议 #916

Yes, third-party Godot.
Only the red circle does not support Chinese.

Other places are fine.

The red circle is.
Chinese characters. The Android simulator will flicker and report an error.
Just change it to English.

@timothyqiu
Copy link
Member

timothyqiu commented Jun 16, 2021

Then this is indeed due to using characters outside the 0-9a-zA-Z range as name of AutoLoad, which the official build does not allow. (so I don't think it's the typical kind of an issue.)

In case anyone wants to test, here is an MRP: ChinesePowerUp.zip. Export this project to any platform, not limited Android, and run the binary, and you'll get the same error log.

@zuiaiyangyang3
Copy link
Author

因此,这确实是由于使用范围外的字符作为自动加载的名称,这是官方构建不允许的。(所以我不认为这是典型的问题。0-9a-zA-Z

如果有人想测试,这里有一个MP:中国电力.zip。将此项目导出到任何平台,而不是限制 Android,并运行二进制文件,您将获得相同的错误日志。

Indeed.
I made the same mistake on the exe platform.
I use the enhanced Chinese version.
It seems that.
I'll wait for the boss to see if I can support it.

@akien-mga akien-mga changed the title Can you support Chinese? Issues parsing ProjectSettings with keys in Chinese Jun 16, 2021
@akien-mga akien-mga added the bug label Jun 16, 2021
@akien-mga akien-mga added this to the 4.0 milestone Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants