how to set container's code page to 936 (zh-CN)? RRS feed

  • Question

  • The windows container run based windowsservercore cannot handle chinese properly. I want to change the code page to 936, when I exec: chcp 936, it said: Invalid code page. Then I change the system local as follows:

    Set-Culture zh-CN
    Set-WinSystemLocale zh-CN
    Set-WinHomeLocation -GeoId 45
    Set-WinUILanguageOverride zh-CN
    Set-WinUserLanguageList zh-CN -force
    after that , still invalid code page, I think it need to reboot the container to take effect, I restart the container but it had no effect, so how to solve it?
    Tuesday, November 1, 2016 8:02 AM