Ethereal-users: Re: [Ethereal-users] Chinese display bug under Windows XP

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: Thu, 23 Sep 2004 01:18:30 -0700
Goodwu wrote:

I'm quite sure that it is because ethereal hadn't convert the file name
string from local code page to UTF8

Ethereal isn't involved in showing the list of file names shown by the Open Capture File dialog - that's all done in the GTK+ file chooser dialog code. If it's reading the directory in such a way that the file names are in a local code page rather than UTF-8, then there's a bug in GTK+ (it should, ideally, be reading them in such a way that you get UTF-8, given that the file names are probably stored in Unicode).

Similarly, the file chooser should be returning UTF-8 names.

(Just for fun, I tried creating a directory with a couple of o-with-diaresis characters, an aleph, and two Chinese characters on my Mac - the file chooser dialog displayed it mostly correctly, although the o-with-diaresis character shows up as an o followed by a diaresis; that might be due to GTK+ not expecting decomposed characters, that being what OS X uses.)