on 09-19-2008 4:04 PM
Hello,
i try to read a UTF-8 with BOM with the file adapter.
The first line in the file looks like that:
20080911B189006 000000000000018203 ST 5.000 eqpjlqk 0001weber 795184000010
in hex:
EFBBBF3230303830393131423138393030362030303030303030303030303030313832303320202020202020535420202020202020202020202020202020352E30303020206571706A6C716B2020202030303031776562657220202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202037393531383430303030313020202020
Where EFBBBF are the 3 Charakters from the BOM.
My Payload after reading looks like that:
?2008091
The first character in the payload is a '?' and the whole line is shifted by 1 character.
Can anyone help my to get this problem solved?
Thanks
Matthias
Thanks a lot. I was reading the german wikipedia entry about the BOM and there it is not as clear as in the english wikipedia entry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not a BOM - it is a Windows UTF-8 identifier.
You should avoid creating UTF-8 files with Windows Notepad. This identifier is non-standard and not supported by Unix systems.
If you want to test the content conversion, do not use UTF-8 files or choose another editor program.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
PS: Wikipedia knows everything
Can you try to find the codepage of the system which created the File and then try to use the corresponding Codepage in the file adapter?
Check the how to guide for more info,
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anyone any Idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.