Consultor Eletrônico



Kbase P128878: Error 12009 loading text into a LONGCHAR
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/02/2008
Status: Unverified

FACT(s) (Environment):

Windows
OpenEdge 10.x

SYMPTOM(s):

Error 12009 loading text into a LONGCHAR

Assigning imported email text into LONGCHAR.

Unconvertable character found in source data with codepage UTF-16 to codepage iso8859-1 (12009)

CAUSE:

The incoming text is encoded with UTF-16 and there are characters (e.g. Chinese data) in the email that are not compatible with the clients Western European code page (iso8859-1 or 1252). When this data is assigned to the LONGCHAR, this non Western European data cannot be converted and the 12009 error appears.

FIX:

There are 3 possible solutions to this problem:

1. Use the UTF-8 client (-cpinternal UTF-8, -cpstream UTF-8).
2. Use FIX-CODEPAGE to set the code page of his LONGCHAR to UTF-8.
3. Ensure his incomming emails are not UTF-16 or any other incompatible code page to the clients -cpinternal setting (iso8859-1 or 1252).