Hi, I have a LUA script that throws the following error:
The script line that tshark is complaining about is:
If I remove the two new line characters I don't get the problem. Interestingly, I don't get the problem with the following line either:
Is \n illegal or is this a bug? Thanks and regards...Paul asked 02 Aug '17, 10:15 PaulOfford |
One Answer:
\n isn't a printable UTF-8 character; control characters aren't printable characters. Newlines, tabs, etc. do not belong in preference titles.
That is the right thing to do - remove the non-printable characters. answered 02 Aug '17, 11:22 Guy Harris ♦♦ |
Specifically, it was this commit from Gerald that made all non-printable characters illegal, so no it's not a bug but intentional.