Chinese characters can not be displayed correctly in k8s deploy mode (OD-789)
since20I8 opened 4 years ago

222.png

  • Robin Shen commented 4 years ago

    这应该跟你数据库的字符集有关,改成UTF8应该就可以了。

  • since20I8 commented 4 years ago

    我在k8s环境中部署,直接使用的helm install。 在mysql容器中看字符集是latin1,我看看怎么批量改下吧。

    另外如果是字符集问题建议直接给mysql配置加上--character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci这个两个参数。

  • Robin Shen changed title 4 years ago
    Previous Value Current Value
    Code Comment only support english
    Chinese characters can not be displayed correctly in k8s deploy mode
  • since20I8 commented 4 years ago

    其实日文韩文都不行??

  • Robin Shen commented 4 years ago

    加上你说的两个选项应该就可以了。

  • OneDev changed state to 'Closed' 4 years ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 4 years ago

    State changed as code fixing the issue is committed

  • OneDev changed state to 'Released' 4 years ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 4 years ago

    State changed as build #2803 is successful

  • Robin Shen commented 4 years ago

    这个升级只针对新创建的数据库有效。对老版本升级上来的,需要通过mysql命令把原来数据导出,数据库重建,再导入数据。

  • since20I8 commented 4 years ago

    已测试,没问题。

issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
Not Found
Issue Votes (0)
Watchers (4)
Reference
OD-789
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover