spring-cloud-alibaba
spring-cloud-alibaba copied to clipboard
fix: NacosDataParserHandler yaml配置解析默认编码错误
Describe what this PR does / why we need it
中文的操作系统默认编码是GBK,Yaml解析只支持Unicode编码,默认编码不一致导致使用了配置中心的服务无法正常启动
Does this pull request fix one issue?
NONE
Describe how you did it
针对yaml配置获取bytes时指定UTF-8编码
Describe how to verify it
配置中心新增yaml配置,本地获取配置内容,要求本地默认编码非Unicode,且启动时未通过-Dfile.encoding指定VM默认编码
Special notes for reviews
NONE