In the case when generating the xml I wanted to define the utf-16 code page when generating the file in the command:
hDoc: SAVE ("file", "c: \ tmp \ lantek.xml"). (export to utf-16)
In the case when generating the xml I wanted to define the utf-16 code page when generating the file in the command:
hDoc: SAVE ("file", "c: \ tmp \ lantek.xml"). (export to utf-16)
You will need to use an intermediate longchar variable which has had it's codepage fixed.
When
fix-codepage
is not used, the length of the longchar is 42. When the codepage has been set to utf-16 the length of the longchar is 84.Example at abldojo.progress.com.