Consultor Eletrônico



Kbase P122314: CODEPAGE-CONVERT returns ? with LONGCHAR data type
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/20/2007
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.0B

SYMPTOM(s):

CODEPAGE-CONVERT returns ? with LONGCHAR data type

The Codepage-convert function returns the unknown value with a longchar data type.

For example:

DEFINE VARIABLE wLongchar AS LONGCHAR NO-UNDO.
ASSIGN
wLongchar = "Børge"
wLongchar = CODEPAGE-CONVERT(wLongchar, "UTF-8", "1252") NO-ERROR.
MESSAGE STRING(wLongchar).

CAUSE:

The exact cause is unknown at the time of this writing

FIX:

Upgrade to OpenEdge 10.1A02 or later.