02-05-2010 11:25 AM
Hi,
I use
OPEN DATASET l_f_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT WITH WINDOWS LINEFEED
to write data on application server, the problem is that I get a data file in UTF-8. Is it possible to get an ANSI data file?
02-05-2010 11:45 AM
Try something like that
OPEN DATASET i_filename FOR OUTPUT IN LEGACY TEXT MODE CODE PAGE i_codepage
where i_codepage is the relevant sap codepage for your ansi codepage
(ex. 1704 for 1253 MS windows Greek)
02-05-2010 11:45 AM
Try something like that
OPEN DATASET i_filename FOR OUTPUT IN LEGACY TEXT MODE CODE PAGE i_codepage
where i_codepage is the relevant sap codepage for your ansi codepage
(ex. 1704 for 1253 MS windows Greek)
02-05-2010 11:47 AM
hi,
how di I get the relevant codepage? I don't know which codepage I need for ANSI
02-05-2010 11:57 AM
The ANSI codepage depends of you MS windows instalation the SAP covers the following
1160 Microsoft 1252, Superset of ISO 8859-1 English
8805 Microsoft 1258, Vietnamese with combining chars
1404 Microsoft Windows 1250 for Central Europe
1504 Microsoft Windows 1251 mit kyrillisch
1804 Microsoft Windows 1255 for Hebrew
1824 Microsoft Windows 1255 for Hebrew without RTL/LTR
1904 Microsoft Windows 1257 fuer litauisch (f. Inhalte)
8604 Microsoft Windows 874 for Thai
8704 MS 1256 Arabic Windows
1614 MS Windows 1254 wie ISO 8859-9 (Latin Nr.5)
1405 MS-Windows 1250 for Hungarian on Latin-1 system
1704 MS-Windows griechisch