The documentation for XGetIconName comments: The XGetIconName function returns the name to be displayed in the spec‐ ified window's icon. If it succeeds, it returns a nonzero status; oth‐ erwise, if no icon name has been set for the window, it returns zero. If you never assigned a name to the window, XGetIconName sets icon_name_return to NULL. If the data returned by the server is in the Latin Portable Character Encoding, then the returned string is in the Host Portable Character Encoding. Otherwise, the result is implementa‐ tion-dependent. When finished with it, a client must free the icon name string using XFree. ...without specifying a way for the implementation to know that the value is/is not in ISO-8859-1 ... while _NET_WM_ICON_NAME is the one which is documented to support UTF-8. -- Thomas E. Dickey <dickey@invisible-island.net> http://invisible-island.net ftp://invisible-island.net
Attachment:
signature.asc
Description: Digital signature