Re: [Wireshark-dev] How to evaluate hex/ebcdic packet data LUA

2016-10-24 Thread Jerry White
You, sir, are my new hero. It all works. Thank you! Jerry On Sun, Oct 23, 2016 at 11:48 PM, Guy Harris wrote: > That won't work for EBCDIC. > > All strings are kept as UTF-8 internally to Wireshark; this means that > Wireshark translates them from the character encoding in the packet to > UTF-8

Re: [Wireshark-dev] How to evaluate hex/ebcdic packet data LUA

2016-10-23 Thread Guy Harris
On Oct 23, 2016, at 7:40 PM, Jerry White wrote: > I'm having a dickens of a time working with the packet data in my Lua > dissector. I'm trying to see if a particular byte has a particular value. > This byte exists in three different places in the below code, and all I want > to do is test if

[Wireshark-dev] How to evaluate hex/ebcdic packet data LUA

2016-10-23 Thread Jerry White
I'm having a dickens of a time working with the packet data in my Lua dissector. I'm trying to see if a particular byte has a particular value. This byte exists in three different places in the below code, and all I want to do is test if it contains 0xc4, and I just can't get it right. Any help is