Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6346] Lua: TvbRange missing unicode string method

Date: Thu, 15 Sep 2011 20:42:28 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6346

--- Comment #2 from Tony Trinh <tony19@xxxxxxxxx> 2011-09-15 23:42:28 EDT ---
(From update of attachment 7024)
Instead of the Boolean, you should use the proper endianness encoding:
http://anonsvn.wireshark.org/viewvc/trunk/epan/proto.h?revision=37978&view=markup#l214

`ENC_LITTLE_ENDIAN` or `ENC_BIG_ENDIAN`

Also, why did you leave out  `_ustringz()`? Currently, we have `_string()` and
`stringz()`.  So if you're adding `_ustring()`, I think it makes sense to add
`_ustringz()` as well (and the same goes for the Little-Endian equivalent).

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.