-
Notifications
You must be signed in to change notification settings - Fork 31
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
get_data returns Chinese string error under windows #94
Comments
@gmg137 Have you solved it ? |
@Koka When i open win10 utf-8 beta support, it works. I viewed source and find something.
|
@yuana1 没解决,我最后是直接把数据库返回数据换成英文了。。。推测是 odbc 的问题,因为我是相同的window sql server 数据库,在linux客户端下没问题,到windows客户端下就有问题了。。。。可能真是你说的那样,需要修改windows客户端的系统编码。 |
@yuana1 Thanks for your investigation! I have very little experience related to national encoding problems in Rust and have no ability to properly test such cases. It would be great if you could find places where non-utf8 support can be improved and prepare pull request with proposed fixes. |
@Koka I will try it! |
Fix published as 0.10.1 |
The database returns a Chinese string. Running normally under linux, but compiling and running under windows will report the following error:
The text was updated successfully, but these errors were encountered: