Kbase P130385: Cannot use ibm850 text file encoding in OpenEdge Architect project
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  23/10/2009 |
|
Status: Verified
SYMPTOM(s):
Cannot use ibm850 text file encoding in OpenEdge Architect project
Cannot select non-European language code page in OpenEdge Architect project
Cannot display foreign characters in OpenEdge Architect
Cannot display French characters in OpenEdge Architect.
-cpstream ibm850 is included as OpenEdge startup parameter in project properties
ibm850 does not appear in drop-down list for the "Other" radio button in "Info/Text file encoding" section of project properties
If user types "ibm850" in the fill-in portion of the combo box, the message "The selected encoding is not supported" is displayed and the OK button is disabled.
Foreign characters are not displayed in the OpenEdge Editor perspective.
Architect started with -vm referencing Java 1.4 JRE
Architect started with -vm referencing Java 1.5 or higher, but the JDK is not installed, only the JRE
FACT(s) (Environment):
Windows
OpenEdge 10.1B
OpenEdge 10.1C
OpenEdge 10.2x
CAUSE:
Java 1.5 or higher is required in order to access non-European language code pages on Windows. (Note that Java considers ibm850 to be a non-European code page, even though it can be used to supply accented characters for the French language.) Currently the Java 1.4 JRE is shipped with OpenEdge Architect. OpenEdge requires that both the JDK and the JRE be installed. Note that when a JDK is installed, the JRE is automatically installed with it, so only the JDK installation is required to be performed by the user. However, if the user installs only the JRE it will be insufficient; in particular, non-European code pages will not be available.
FIX:
If Java 1.5 is not already installed and the default version for the Architect installation, install Java 1.5 JDK or above, and specify the corresponding JRE with the -vm parameter when starting Architect; for example:
C:\Program Files\Java\jre1.5.0_15\bin\javaw.exe
After using the correct version of Java it is necessary to select the required code page. To do this select Window->Preferences->General->Workspace, and you should see a "Text file encoding section" that defaults to cp1252. Now select 'Other', and in the combo you should be able to select the required code page (e.g. ibm850). If ibm850 does not appear, type it in as an entry in the combo (the combo is editable). Save the change and then after restarting Architect you should be able to open any source code file written in ibm850 and see the correct characters.