>>>>> On Thu, 24 Jan 2002 20:46:28 -0500 >>>>> "Dan" == Dan Espen <[EMAIL PROTECTED]> wrote: Dan> Dan> Olivier Chapuis <[EMAIL PROTECTED]> writes: >> On Thu, Jan 24, 2002 at 04:25:10PM -0500, Dan Espen wrote: >> > Olivier Chapuis <[EMAIL PROTECTED]> writes: >> > > On Thu, Jan 24, 2002 at 03:44:20PM +0300, Alexander Kotelnikov wrote: >> > > > >>>>> On Thu, 24 Jan 2002 13:02:54 +0100 >> > > > >>>>> "Olivier" == Olivier Chapuis <[EMAIL PROTECTED]> wrote: >> > > > Olivier> >> > > In fact this is easy to be done: >> > > We just have to modify get_name_property in add_window.c >> > > (the !I18N_MB one) and the corresponding code in events.c. >> > > To filter the xterm titles it is enough to use >> > > XmbTextPropertyToTextList >> > > The solution of the filtering problems was simple! >> > >> > I think you are suggesting to remove the 3 byte escape sequence >> > when fvwm is compiled without multibyte. >> > I've been meaning to do the same for a while but haven't >> > had the chance. >> > >> >> I am not sure that it is so easy to remove these "3 bytes" (which >> are not only 3 bytes and which can be found at different place >> in the string). Basically, we have to rewrite the >> XmbTextPropertyToTextList >> function (maybe in a weak form). Dan> Dan> Maybe in theory the 3 bytes can occur anywhere, Dan> but every time I've seen them, they are at the start of the string.
"start of string"? actually on encidings interface. i.e. If I have string of space and cyrilic letter in KOI8-R I get inerface between iso8859-1 and koi8-r, and if I have utf symbol and non-utf JIS one I will also get this interface in UTF-8 locale Dan> Java, for example, will put them there when you set the locale to Dan> en_Us. I think, if you have true multibyte strings, they might Dan> be anywhere, but when an application is just marking a string as Dan> multibyte, just in case, they seem to only be at the start of the Dan> string. -- Alexander Kotelnikov Saint-Petersburg, Russia -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]