[Matroska-users] Error reading chinese font Filename in MKVEXTRACTGUI 1.6.4.1

Liisachan seelie at faireal.net
Mon Feb 16 21:28:35 CET 2009


Rolf Ernst wrote:
> Why don't you install the Chines language pack for Windows?
> 
> On Tue, Feb 10, 2009 at 2:02 PM, success saed <newtosuccess at gmail.com 
> <mailto:newtosuccess at gmail.com>> wrote:
> 
>     To Matroska Team
>      
>     hi, can i check for MKVEXTRACTGUI 1.6.4.1
>     how to make it able to read chinese font filename, for mkvtoolnis,
>     it able to read and detect chinese font filename, but for
>     mkvextractgui, it detect as ??? which making it an error, everytime
(snip)

I did a quick-test myself, and I think MKVExtractGUI is not a Unicode 
app, but a so-called ANSI one.

Filenames of attached files, such as in Chinese, are stored in Unicode, 
but when output, converted to the system default Code Page, for example 
ANSI_CHARSET if your default system code page is it. Conversion from 
Unicode (Chinese range) to ASCII is impossible, hence you'll get the 
default characters, for example '?'.

So, this is by design, not a bug, and enabling the Supplemental language 
support w/ files for East Asian languages (known as "language pack" in 
pre-win2k) wouldn't help. The request is a valid one: Unicode-based text 
I/O would be surely preferable.

However, I'd recommend that one should use ASCII file names.
The font file name can be anything, it's not related to the font name.
Also, in SSA/ASS you can almost always use ASCII font names (CJK fonts 
often have both CJK names and English names). It is much safer to use 
the English ones, whenever possible.
Liisachan



More information about the Matroska-users mailing list