When using Eclipse for COBOL development, you need to ensure that each of the following settings are compatible with how the content within your program source files is encoded:
If there are any incompatibilities with the text encoding setting, the contents may not display correctly within the editor, and if there are also incompatibilities with the directive setting, the compiled output may not be as expected.
To set the default text file encoding:
The Workspace-specific settings page is displayed.
The setting applies to subsequent new projects in the current workspace only. To set the default for other workspaces, you must first switch to them and then repeat these instructions.
To set the source-encoding for a project
The Properties for <project-name> dialog box appears.
The selected encoding is used for the entire project. You can override this value by setting the encoding at other levels within the project, such as in build configurations or folders.