2023 Jul 06 3:53 PM
Hi SAP network,
we have an issue after upgrading from eHP6 to eHP7 and non-unicode to unicode.
When we use OPEN DATASET and the filename contains an 'é' or another special character, the file is created on the application server, it is displayed correct in AL11, but when we go to the application server via windows explorer the 'é' is replaced with some special characters.
is this an issue with the codepage when downloading?
we tried all sorts of parameters with the OPEN DATASET statement, both in text mode and binary but the problem remains.
Test program:
2023 Jul 06 4:08 PM
Can you test ENCODING DEFAULT
(and post you code in text in a code window)
OPEN DATASET file_name IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.
2023 Jul 06 4:18 PM
Hi Raymond,
same result
DATA: lv_dest_filepath TYPE char200 VALUE '/home/WD2/HUB539A/SDN_é1.txt'.
OPEN DATASET lv_dest_filepath IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.
2023 Jul 06 5:19 PM
Your Windows File Explorer sems to expect some ANSI code page and not Unicode (C3A9 vs E9) or mismatch UTF8 UTF16?
" Unicode - /home/WD2/HUB539A/SDN_é1.txt - C3A9
" ANSI - /home/WD2/HUB539A/SDN_é1.txt - E9