[MPlayer-dev-eng] [PATCH] Convert UCS-2LE encoded asf tag

Zuxy Meng zuxy.meng at gmail.com
Thu Aug 24 02:57:55 CEST 2006


2006/8/23, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> Hello,
> On Wed, Aug 23, 2006 at 01:32:45PM +0800, Zuxy Meng wrote:
> > characters. This patch properly converts UCS-2LE encoded asf tags to
> > the charset that mplayer internally uses, with the help of iconv.
>
> IMHO the charset that MPlayer uses internally is supposed to always be
> UTF-8, and I do not like adding the iconv dependency.

Isn't the internal encoding defined as MSG_CHARSET? Then mp_msg()
converts from MSG_CHARSET to mp_msg_charset (using iconv) and print
messages out to stdout/stderr.

> IMHO using something like libavcodec/flacenc.c write_utf8 function would
> be much preferable.


-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list