09-16-2008 4:17 AM
Hi experts,
I am now using SAP 4.6B. I need to write a program to download data to application server and the file must be in unicode. Is it possible? If yes, how can I do this?
In SAP 4.7 onwards, I can use
OPEN DATASET xxxx IN TEXT MODE ENCODING DEFAULT.
But in SAP 4.6B, it seems that I can't specify encoding...
<removed_by_moderator>
Edited by: Julius Bussche on Sep 16, 2008 10:56 AM
09-16-2008 9:46 AM
you need some unicode codepage on your SAP system
do a translation to this codepage before you write file (in binary format)
on my system:
4100 UCS-2 BE Unicode
4101 UCS-2 LE Unicode
4102 UTF-16BE Unicode
4103 UTF-16LE Unicode
4104 UTF-32BE Unicode
4105 UTF-32LE Unicode
4110 Unicode UTF-8
4120 Unicode UTF-8 pure
LE = little endian, BE = big endian
09-16-2008 9:46 AM
you need some unicode codepage on your SAP system
do a translation to this codepage before you write file (in binary format)
on my system:
4100 UCS-2 BE Unicode
4101 UCS-2 LE Unicode
4102 UTF-16BE Unicode
4103 UTF-16LE Unicode
4104 UTF-32BE Unicode
4105 UTF-32LE Unicode
4110 Unicode UTF-8
4120 Unicode UTF-8 pure
LE = little endian, BE = big endian