Consultor Eletrônico



Kbase P67188: OpenEdge 10 Unicode support for Procedure Editor
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/11/2008
Status: Verified

GOAL:

How to facilitate OE 10 Unicode Character Client support for different native languages in the Procedure Editor ?

GOAL:

How to support multi-language clients for different native languages in the Procedure Editor ?

FACT(s) (Environment):

OpenEdge 10.0A
OpenEdge 10.x
Windows

FIX:

The only one way to be able to accomodate multi-language clients is to convert the Progress Datbase to UTF-8 (UNICODE), which was a new database feature in v9, and then connect one client using seperate startup.pf files(for example) "german.pf" and second client using "slovenian.pf".

In OE10, we have included support for UNICODE Character clients, but the source editor (slick edit) in the Procedure Editor was not unicode-enabled until OpenEdge 10.0B.

If upgrading to OpenEdge 10.0B or connecting the clients using multiple <lang>.pf files are not options, the following may be considered:


OPTION #1:

Advantage, maintain the V9 slick editor functionality in the Proceedure Editor
Disadvantage, Need to enter the character map values for special characters
Suggested usage: When there are not too many special characters in use.

example:

prowin32 -cpinternal UTF-8 -cpstream UTF-8
BUFFER -> FONT -> EDIT -> select 8 (for example) -> EDIT -> add a font type that contains all characters that are needed, for example NEW TIMES ROMAN, Regular, 16, Central European

DISPLAY 'hello ~U000150~U000420~U0005D3~U00012E~U0003A9~U00014A ~U000031 ~U00263A ~U0000E4~U00016F~U00014F~U0000DF' FONT 8.


OPTION #2:

Advantage, can switch keyboard quickly if necessary
Disadvantage, haven't got the V9 slick editor functionality

In the %DLC%\progress.ini (or ini file in use for sessions), disable the source editor in the startup parameters of the ini file and add needed font customisation(s):

[Startup]
UseSourceEditor=NO

[fonts]
font8=Times New Roman, size=16

prowin32 -cpinternal UTF-8 -cpstream UTF-8 -basekey INI -ini %DLC%\bin\progress.ini

progress.ini contains the following amendments:

display "HELLO äüößÄ" font 8.

NOTE: between the "display" and the special character needed "äüößÄ", the appropriate keyboard layout is selected if necessary.