Ethereal-users: Re: [Ethereal-users] Warning Messages in Ethereal Version 0.10.4

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 16 Jun 2004 00:52:45 -0700
On Tue, Jun 15, 2004 at 12:14:49PM -0400, nrooster561@xxxxxxx wrote:
> I am running Ethereal version 0.10.4 on an Windows XP Pro machine. I have 
> been experiencing warning messages in a DOS-like window when I go to view what 
> has been captured. I get the warning messages mostly when I click on AIM 
> packets, or scroll by AIM packets. The warning message is as follows:
> 
> ** (ethereal.exe): Warning **: Invalid UTF8 string passed to 
> Pango_layout_set_text()

There were some places where the AIM dissector was directly using string
values from the packet; that doesn't work with non-printable characters
with GTK+ 1.2[.x] and with non-ASCII characters with GTK+ 2.x - the
version of Ethereal you're using uses GTK+ 2.x.

I've checked in a change to make it use "format_text()" to handle the
troublesome characters.