2025 Feb 11 6:55 PM - edited 2025 Feb 11 8:07 PM
I am using OPEN DATASET lv_file FOR APPENDING IN TEXT MODE ENCODING DEFAULT . to transfer file to AL11 path but when reading the file I am getting junk value  is beginning it self as show in attachment . I tried ENCODING NON-UNICODE and UTF-8 also to place the file but no luck. Basically it getting uploaded with UTF-8 with BOM, but in order to resolve this I need it in UTF-8 format. Any suggestion will be helpful.
Request clarification before answering.
I guess it's the Byte Order Mark representing UTF-8 = bytes 'EFBBBF' (see Wikipedia). You may use
OPEN DATASET ... FOR INPUT ENCODING UTF-8 SKIPPING BYTE-ORDER MARK
See OPEN DATASET, encoding (ABAP Keyword Documentation).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
59 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.