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

读取注册表不支持unicode #2221

Closed
shuax opened this issue Mar 29, 2022 · 1 comment
Closed

读取注册表不支持unicode #2221

shuax opened this issue Mar 29, 2022 · 1 comment

Comments

@shuax
Copy link
Contributor

shuax commented Mar 29, 2022

Is your feature request related to a problem? Please describe.

如果查询的key或者值有中文,会查询不到值,或者值错误。

Describe the solution you'd like

希望能支持unicode

Describe alternatives you've considered

把winos注册表相关的A调用换成W调用。

Additional context

No response

@waruqi
Copy link
Member

waruqi commented Mar 29, 2022

暂时没空搞,目前就这一处还没换,https://github.com/xmake-io/xmake/blob/master/core/src/xmake/winos/registry_query.c

其他的都已经换了,可以参考这个

tb_size_t value_name_a_size = tb_wtoa(value_name_a, value_name, sizeof(value_name_a));

来个 pr 过来

@waruqi waruqi added this to the v2.6.5 milestone Mar 30, 2022
@waruqi waruqi closed this as completed Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants