cashtang commented on issue #61: windows上cli 处理文件编码问题 URL: https://github.com/apache/servicecomb-toolkit/issues/61#issuecomment-562455414 > @WillemJiang 我觉得在读取文件的地方要显式的使用UTF作为编码格式,而不是让JDK采用平台默认的编码格式,这样就能解决问题了。 我看了一下代码,读取文件用的是 commons.io FileUtils 读取的,并且指定了 utf-8 字符集。估计是Swegger 的 parseYaml 错误了。
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
