Le Dimanche  6 Mai 2001 15:32, vous avez écrit :
> On Sun, May 06, 2001 at 03:08:52PM +0200, Olivier Chapuis wrote:
> > Le Dimanche  6 Mai 2001 13:10, vous avez écrit :
> > > What about the more esoteric features of the spec like unicode
> > > icon titles?  The spec demands that the window manager provides a
> > > unicode window title even if the application did not.
> >
> > Nothing about unicode is implemented (yet ?) in fvwm-ewmh. This does
> > not cause problems with applications that I known and which respect the
> > spec.
>
> I'd expect problems with the desktop environment, not with the
> applications.  I'm not a big fan of that unicode "feature" in the
> spec anyway.  The corresponding paragraph in the spec can be
> interpreted like this:
>
>   The window manager should implement unicode window titles.  If
>   it does not, it must implement unicode window titles instead.
>

Basically this is true, but in practice, IMHO, this is not a problem:
1. The ewmh spec is build on the ICCCM draft.
2. The client (application) should set _NET_WM_NAME (utf-8 encoding), this
is not a problem for the wm. 
3.  "*if* the Window Manager displays a window name other than
_NET_WM_NAME the Window Manager MUST set  _NET_WM_NAME_VISIBLE
to the title displayed in UTF-8 encoding.", So: 

  A desktop environment, should see if _NET_WM_NAME_VISIBLE
  is set, if not set then it has to look at  _NET_WM_NAME and if this
  one too is not set  then the desktop env should respect the ICCCM and
  use the usual WM_NAME. Of course KDE do that.

4. An application should set WM_NAME, and the wm can use it (we just
have to do not say that to the free desktop group :o).

The situation is the same with icon name, so it seems to me that a wm can
be ewmh compliant without using utf-8 encoding. There is also the
 _NET_NET_DESKTOP_NAMES which use utf-8 string, but it is clearly say
in the spec. that this is not an important thing (but I've got problems with
KDE here :o) for an other reason I think)

Any way, I am interested by the utf 8 stuff. It is a good solution for
supporting all the languages. So, maybe I will implement the utf-8 part
of the spec. in the future. At the present time I have to take a look at
the different C libraries available. Any suggestion is welcome.

> The spec forces the window manager to translate eight bit
> characters to unicode.  I reported this to the list along with
> other inconsistencies in the spec several months ago, but nobody
> seems to care :-(
>

Yes, there are problems in the spec., there are also good ideas and
things that I do not like (e.g., Desktop applications implementation).
Also, the spec. is young and there is only one "full" implementation
of it. So, we may hope that version 2 will be good enough. And it
seems to me that the current version is "OK" for an implementation.

Regards, Olivier
--
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]

Reply via email to