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

引用sword-lang时的JAXB操作XML的字符集问题 #28

Closed
uncoseason opened this issue Oct 15, 2015 · 2 comments
Closed

引用sword-lang时的JAXB操作XML的字符集问题 #28

uncoseason opened this issue Oct 15, 2015 · 2 comments

Comments

@uncoseason
Copy link
Contributor

sword中JAXB调用默认本地编码,能不能照顾下广大的windows开发环境的同胞啊,本地默认都是GBK哦,如果用file.encoding环境变量的方式弊端太大,能不能给予可选编码的配置方式啊?3Q。

@chengn
Copy link
Member

chengn commented Oct 21, 2015

系统默认的编码是jvm的编码,跟本地是什么默认编码没有太大关系,可以考虑配置这个编码,但是你可以再启动服务器的时候,加上jvm的编码参数,这样就可以改动默认的jvm编码。
监狱utf-8的万能编码,我建议系统都是utf-8.你的建议我会考虑的。
谢谢

@uncoseason
Copy link
Contributor Author

感谢

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

No branches or pull requests

2 participants