tagparser icon indicating copy to clipboard operation
tagparser copied to clipboard

Improve support for handling locale information

Open Martchus opened this issue 5 years ago • 2 comments

So far language/locale specifications are extracted from various formats/places as-is. That means with this information can not be dealt with in a format-independent manner. It would make sense to at least track the format being used. It would also be nice to add functions to convert between the formats like the library currently deals with the different character sets.

Annoyingly Matroska files have 2 ways to specify the language so having multiple native formats needs to be taken into account as well.

Martchus avatar Dec 13 '20 15:12 Martchus

The locale format is now tracked and it is possible to have multiple locales (with different formats) at the same time. The library does not allow to convert between formats so one still needs to take care to pass a locale in a format suitable for the current format.

Martchus avatar Jan 29 '21 15:01 Martchus

Further info about languages in Matroska: https://gitlab.com/mbunkus/mkvtoolnix/-/wikis/Languages-in-Matroska-and-MKVToolNix

Martchus avatar Apr 06 '21 13:04 Martchus