Ethereal

Re: [Ethereal-dev] Unicode strings ...
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: August 2001


On Sun, Aug 12, 2001 at 05:12:34PM -0700, Guy Harris wrote:
> My inclination would be to go with UTF-8 internally,

...although that would require either that "proto_tree_add_string()" and
so on take an argument specifying the character set to be used or that
some indication of the character set be associated with the field.

The latter has the disadvantage that not all occurrences of the field
would necessarily have the same character set, so I'd be inclined to add
a character-set argument.

"proto_tree_add_item()" might also have to have that argument added (the
byte-order argument couldn't, I think, be used, as if the character set
in the packet is UCS-2, you'd have to specify whether it's big-endian or
little-endian UCS-2).



Powered by MHonArc 2.6.10