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

Ethereal-dev: Re: [Ethereal-dev] While we're on the subject of new frametypes...

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Fri, 13 Dec 2002 12:14:08 -0800
On Fri, Dec 13, 2002 at 11:50:21AM -0800, Guy Harris wrote:
> Then "proto_tree_add_item()" would perform conversation as necessary:
> 
> 	If the type (supplied in the field that's currently used only
> 	for byte order) is CHARSET_ISO8859-1, it would convert to UTF-8.
> 
> 	If it was CHARSET_UCS2|LITTLE_ENDIAN, it would convert to UTF-8.
> 
> 	If it was CHARSET_UCS2|BIG_ENDIAN, it would convert to UTF-8.
> 
> 	If it was CHARSET_ASCII, it would convert to UTF-8.

Or to whatever encoding would make character string comparisons work
well; that might be UCS-2 or UCS-4 rather than UTF-8.