I’ve created a PureCM workspace for web site project. After starting up the site it turns out that all Polish characters are invalid. The site is made in UTF-8 and all files contains texts encoded this way.
The browser could not identify what kind of encoding is used. I’ve tried with ISO-8859-2 which is another possible standard for Polish characters.
No effects.
I’ve checked the file types reported by PureCM. For most of C# code files it was “text/plain” which we configured in repository with following options:
- File Type: text
- Selected “Disable writing of unicode identifier”
- Encoding: System Encoding
What does “System Encoding” mean for PureCM?
It turns out that it is a setting for “non-Unicode programs” which can be found in system’s Control Panel / Regional and Language Options / Advanced.
I’ve created the workspace at new PureCM installation at computer running English Windows version and thas setting was “English” by default.
To solve the problem I did following steps:
- Opened Control Panel
- Opened Regional and Language Options
- Clicked to Advanced tab
- Selected “Polish” as Language for non-Unicode programs.
- Rebooted the computer.
- Deleted the PureCM workspace.
- Created PureCM workspace.
Posted by Michał Krawczyk
Posted by Michał Krawczyk