Consultor Eletrônico



Kbase P109457: Can Unicode characters be Copy/Pasted from the Windows Character Map?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/09/2005
Status: Unverified

GOAL:

Can Unicode characters be Copy/Pasted from the Windows Character Map?

GOAL:

Can Unicode characters be pasted from a Microsoft Word document into a UTF-8 application?

GOAL:

How to enter UTF-8 extended characters with the GUI client?

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x

FIX:

With the OpenEdge GUI Unicode client it is possible to paste Unicode characters directly from Windows Character Map or Microsoft Word into a GUI application.

In this situation is is recommended that the configuration of the application should use the following:

1. The OpenEdge 10 UTF-8 Unicode GUI client.
2. A database code page of UTF-8.
3. Any database broker should be started using -cpinternal and -cpstream set to UTF-8.

To view the entered data from non UTF-8 GUI clients including Version 9, the client must be started using a compatible code page. So for example, if Russian data has been entered with the configuration as described above, this data can be displayed successfully on a OpenEdge 10 or V9 client using the locale Russian Cyrillic code page 1251 (-cpinternal and -cpstream set to 1251, cpcoll Russian).

Failure to start the client using the methods described above (i.e. using another, possibly incompatible code page) will risk corrupting the data, and the display is likely to result in question marks.

If the data is not represented by question marks, but by some other strange character it is likely that the display is not using the correct font and/or script. In the example described above, to display Russian data the client would need to use a font with an appropriate Cyrillic script.