[MPlayer-dev-eng] [PATCH] Use _NET_WM_NAME for UTF-8 title in X11 if supported
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Jun 20 21:34:45 CEST 2006
Hi,
On Tue, Jun 20, 2006 at 09:26:11PM +0200, Rickard N?rstr?m wrote:
> hmm... I coud use MSG_CHARSET, iconv and Xutf8TextListToTextProperty... is
> that a better solution?
You mean the reason for the setlocale is to convert the filename to
utf8?
I think the decision was to simply assume that all strings MPlayer uses
are in UTF-8, and MSG_CHARSET is UTF-8, any cases where this is not the
case is either a bug or "legacy support" that will have to live with some
drawbacks.
The only exception is mp_msg.c.
Though I admit that "decision" was mostly my and Richs opinion that
anything besides UTF-8 is broken and not worth much trouble to support
and nobody else caring.
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list