Subtitle Stream Info always returns LanguageCode with 3 characters

When retrieving subtitles, even if they are named with two characters, the languageCode returned is always a three character code.  This makes it difficult with Java and in particular Android to correctly detect the language code being used and matching up to the locale.

 

Ideally a two character code would be preferable for comparison instances.  Another option is to include the 2 character and the 3 character code in the output.  This way a lookup table doesn't need to be maintained which can change as the ISO codes change over the years.

 

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.