Error is formatted incorrectly when 0-width characters are in use.
Opened this issue · 0 comments
NorfairKing commented
I know this is nitpicky but I felt it important to point out in case this is supposed to be supported.
Here is an example error:
Failed to parse message:
1:1:
|
1 | <empty line>
| ^
<pure>:1:64:
|
1 | 34=149=XXXX_XXX_XXXX52=20240930-15:03:41.83656=XXXXX.TEST57=XXXXX.XXX298=0108=3010=198
| ^
Unknown field tag: 57
As you can see, the ^
is pointing at the wrong character.
I think this is because there are invisible (0-width) \SOH
characters inbetween fields.