asxファイルのTitleタグに日本語を設定するとMediaPlayerで再生時にタイトルが文字化けすることがあります。
下記のasxファイルを再生するとMediaPlayerでのタイトル表示が文字化けします。
<asx version="3.0">
<entry>
<title>あなたとわたしはiPentec</title>
<ref href="\\MediaServer\Music\AAi\01.wma" />
</entry>
</asx>
タイトル表示が文字化けします。
MediaPlayerがデフォルトではASXファイルの文字コードをSJISとして認識することが原因と考えられます。
下記のコードをASXファイルに追記します。
<param name="encoding" value="utf-8" />
<asx version="3.0">
<param name="encoding" value="utf-8" />
<entry>
<title>あなたとわたしはiPentec</title>
<ref href="\\MediaServer\Music\AAi\01.wma" />
</entry>
</asx>
タイトル表示が正しくなります。
ASXファイルをSJISファイルで保存/出力します。
タイトル表示が正しくなります。