[MPlayer-dev-eng] [PATCH] Use _NET_WM_NAME for UTF-8 title in X11 if supported

Rickard Närström rickard.narstrom at gmail.com
Tue Jun 20 21:52:20 CEST 2006


tisdag 20 juni 2006 21:34 skrev Reimar Döffinger:

> 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.

If I can assume all messages are in UTF-8 it's fine.

I can agree with you on the point that UTF-8 shuld be preffered when ever 
possible. I have bin using UTF-8 as my locale charset for years.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-title.patch
Type: text/x-diff
Size: 3714 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060620/dc529231/attachment.patch>


More information about the MPlayer-dev-eng mailing list