[Progress Communities] [Progress OpenEdge ABL] Forum Post: CODEPAGE question

Status
Not open for further replies.
G

goo

Guest
11.7 / 12.0 Could anyone explain to me why this gives me two different answares? def var myISO as longchar no-undo. def var myUTF as longchar no-undo. fix-codepage(myISO) = session:cpinternal. fix-codepage(myUTF) = 'UTF-8'. myISO = 'Ä'. /*Changing these will give me two different results for utf.txt .... why?*/ //myUTF = codepage-convert(myISO,'UTF-8',session:cpinternal). myUTF = codepage-convert('Ä','UTF-8',session:cpinternal). copy-lob myISO to file 'e:\temp\iso.txt' no-convert. copy-lob myUTF to file 'e:\temp\utf.txt' no-convert.

Continue reading...
 
Status
Not open for further replies.
Top