Note: The following applies to .NET managed COBOL only.
To avoid code page conflicts, save all the auto-generated developer-editable .cbl files using the platform locale that matches the developer-generated of previously existing files, as follows:
- Ensure the source code from the file is displayed in the editor.
- Click
File
>
Advanced Save Options.
The advanced save dialog is displayed indicating the current code page for the file it UTF-8.
- Change the encoding to the platform default.
- Repeat the above for each auto-generated .cbl file.
- Save all the .cbl files under the same locale.
- Rebuild the solution.