Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error is formatted incorrectly when 0-width characters are in use. #572

Open
NorfairKing opened this issue Sep 30, 2024 · 0 comments
Open

Comments

@NorfairKing
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants