pub fn text_encoding_for_language(
language_id: impl Into<LanguageId>,
) -> Result<TextEncoding, LanguageEncodingError>Expand description
Resolves the text encoding for a KotOR language ID.
This mapping is shared by TLK and GFF localized-string paths so behavior stays centralized and avoids cross-crate drift.