Consultor Eletrônico



Kbase P100275: Unable to copy and paste Chinese Unicode characters in the Procedure Editor
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/12/2006
Status: Unverified

FACT(s) (Environment):

Windows
OpenEdge 10.x

SYMPTOM(s):

Unable to copy and paste Chinese Unicode characters in the Procedure Editor

Copying Chinese characters from Unicode enabled application and pasting into the Procedure Editor

Starting the session with -rx pasted characters displays Chinese characters, but not without using -rx

Using session startup parameters -cpinternal UTF-8 -cpstream UTF-8

CAUSE:

'Regional and Language Options' not installed for the East Asian languages.

FIX:

1. On your Windows operating system navigate to the Control Panel and open the 'Regional and Language Options'.
2. Choose tab folder 'Languages' and check the toggle 'Install files for East Asian languages'; this will install additional fonts.
3. After applying the changes Windows requires restart.
4. Your OpenEdge startup parameters need to include: -cpinternal UTF-8 -cpstream UTF-8.
5. Open the Procedure Editor and navigate to menu item 'Options' -> 'Default Font' and choose Font 8.
6. Click onto the <Edit> button and assign font e.g. 'MS PGothic' or 'MS PMincho', or some other font compatible with the Chinese that is required.
7. Test copy/paste operation and save/open as well.
8. Bear in mind that when running the procedures from the Procedure Editor, DEFAULT-WINDOW will be used, so it is a good idea to assign FONT attribute to the number containing the font you used in the previous step.
9. If you require usage of the AppBuilder, then you might also consider changing the FONT 2 as that one is used within the AppBuilder's Section Editor.
10. Setting the window or frame widget's FONT attribute to use designated font will further ensure that everything is displayed correctly.