[Matroska-devel] mmg.exe 2 Bugs Related to Charset

Moritz Bunkus moritz at bunkus.org
Sat Jan 1 15:39:05 CET 2005


Hey,

> (1) Can't copy and paste WCHAR to MMG's editbox. So I cannot 
> really test. but

like I've said: mmg does not support Unicode. And it won't in the near
future (too much work). 

> (2) You should be able to pass a commandline in WCHAR to 
> mkvmerge from [Start]->Run, but it can't eat WCHAR.

Who?

> (3) If supporting Unicode, MMG should open a file with WCHAR 
> filename, but it can't: It gave me "File identification failed. 
> Return code: 2" when I just tried to [add] "a.flac" (a has an 
> accent mark, and this filename should be handled as WCHAR unless 
> system default charset is W.European) Probably you'll need to 
> use GetOpenFileNameW() ?

I need to use CreateFileW(), but that isn't available on 9x.

> There seem to be no problems at all if the filename is in 
> Japanese, which is my default charset now. Copy to Clipboard now 
> works fine too. So, this build sure has a new positive feature.
> :)

Then I'll keep it that way for the time being.

Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds



More information about the Matroska-devel mailing list