Skip to Content
0
Former Member
Sep 19, 2008 at 03:04 PM

Reading a UTF-8 File with BOM (Byte Order Mark) with the File Adapter

1870 Views

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