View Single Post
Old 4th July 2009, 16:15   #1045  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,281
Quote:
Originally Posted by stax76 View Post
Kann man mkvmerge so einstellen das die Konsole englisch ausgibt und deutsche Umlaute in den Pfaden korrekt dargestellt werden?
This is an English forum, so I'll reply in English.

The language mkvmerge uses and the charset it uses are two distinct things. The language and charset default to the system values. How those values are determined depends on the operating system you're running mkvmerge on.

Generally there are two options for changing these aspects: --ui-language and --output-charset. The former sets the language and the latter changes the charset that all tools use for outputting to the console.

On Windows you shouldn't have to change the output charset as mkvmerge detects the charset used by the console itself. Changing the output charset is only useful if you redirect the output, e.g. to a text file, and use an editor for looking through that text file. Changing the language on Windows is easy enough, just add "--ui-language en" to the command line.

On non-Windows systems mkvmerge usually gets its defaults from the locale environment variables (LC_ALL, LC_MESSAGES and LANG are examined in this order. The first one that is set is chosen.). You can still use --ui-language and --output-charset, or you could simply change the environment variable appropriately (e.g. "LC_MESSAGES=en_US.UTF-8 mkvmerge ..."). Unlike Windows the --ui-language parameter actually takes the same format as the LC_* and LANG variables meaning that for English you'll have to use "en_US" and not just "en" as on Windows.

Note for non-Windows systems: setting LC_MESSAGES to "en_US" (without an explicit charset) means that the charset defaults to "ASCII" and not to UTF-8. If you need German Umlaute then your Linux system is usually either set up for ISO-8859-15 or for UTF-8. Achieving the latter is easy: "en_US.UTF-8". However, the former is usually not supported out of the box by most Linux distributions. You'll have to use something like "en_US@euro" and use locale-gen to define en_US@euro as being ISO-8859-15, or you'll have to change en_US itself to map to ISO-8859-15. How that is done depends heavily on the distribution in question.
__________________
Latest MKVToolNix is v83.0

If I ever ask you to upload something, please use my file server.

Last edited by Mosu; 4th July 2009 at 16:19.
Mosu is offline