暑假没有出去打工,总不能荒废吧!学下JAVA吧,首先刚开始就尴尬了,直接中文里乱码,各种查改文件编码,偶然发现呃呃,不是文件编码问题,
在windows中控制台默认使用的是gbk编码(百度这么说的)既然知道了那就简单了


直接更改编码就好了UTF_8走起
直接在最后加上
-Dfile.encoding=UTF-8
完美解决中文问题
暑假没有出去打工,总不能荒废吧!学下JAVA吧,首先刚开始就尴尬了,直接中文里乱码,各种查改文件编码,偶然发现呃呃,不是文件编码问题,
在windows中控制台默认使用的是gbk编码(百度这么说的)既然知道了那就简单了
直接更改编码就好了UTF_8走起
直接在最后加上
-Dfile.encoding=UTF-8
完美解决中文问题
文章有(3)条网友点评
Hey guys,
I’m trying to sell my house fast in Colorado and I was wondering if anyone had any tips or suggestions on how to do it quickly and efficiently? I’ve already tried listing it on some popular real estate websites, but I haven’t had much luck yet.
I’ve heard that staging my home can help it sell faster, but I’m not sure if it’s worth the investment.
If anyone has any experience with selling a house fast in Colorado, I would love to hear your story.
Thanks in advance!
I may need your help. I tried many ways but couldn’t solve it, but after reading your article, I think you have a way to help me. I’m looking forward for your reply. Thanks.
感谢分享 赞一个