Previous Topic Next topic Print topic


Avoiding Code Page Conflicts in .NET Managed COBOL

Note: The following applies to .NET managed COBOL only.

Code pages are not often a consideration for traditional COBOL application development. However, they require attention in the advanced system Enterprise Developer, which interacts with the rich code page support of the Microsoft .NET framework.

Enterprise Developer follows the default behavior of Visual Studio by creating all auto-generated code files as UTF-8. The Compiler automatically compensates for this by detecting if the source code can be read as UTF-7/ASCII. If it cannot, all the files in a solution are saved as the appropriate code page, thereby avoiding corruption of PICTURE clause data items.

Code page conflicts can impact WPF and WCF projects, where by default:

Previous Topic Next topic Print topic