Salesforce

What code pages are supported in convmap.cp?

« Go Back

Information

 
TitleWhat code pages are supported in convmap.cp?
URL NameP174405
Article Number000139918
EnvironmentAll Supported Operating Systems
OpenEdge 10.x
Progress 9.x
Question/Problem Description
What code pages are supported in convmap.cp?
How to query what code pages my installation supports.
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution

To find supported code pages, use the GET-CODEPAGES function.

The following example code may be run from the Procedure Editor:

DEF VARIABLE code-page-list AS CHARACTER.
DEF VARIABLE collation-list AS CHARACTER.
DEF VARIABLE i AS INTEGER.
DEF VARIABLE j AS INTEGER.

code-page-list = GET-CODEPAGES.
REPEAT i = 1 TO NUM-ENTRIES(code-page-list):
  DISPLAY ENTRY(i,code-page-list) FORMAT "x(19)" COLUMN-LABEL "Code Page"
WITH DOWN FRAME a.
  collation-list = GET-COLLATIONS(ENTRY(i,code-page-list)).
  REPEAT j = 1 TO NUM-ENTRIES(collation-list):
DISPLAY ENTRY(j,collation-list) FORMAT "x(19)" COLUMN-LABEL "Collation"
  WITH DOWN FRAME a.
DOWN WITH FRAME a.
  END.
END.

Also check the README file in the $DLC/prolang  directory or %DLC%\prolang folder.

Workaround
Notes
Keyword Phrase
Last Modified Date9/13/2015 12:34 PM

Powered by