public String getCharset(Settings settings, String defaultValue) {
		String cs = settings.getString(CHARSET_SETTING_NAME);
		if (cs == null) {
			cs = getDeprecatedEncodingValue(settings);
		}
		return (cs != null) ? cs : defaultValue;
	}
Backward compatibility to map old MBCS (language_index, charset_index) tuples to a
simple charset_name value.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/CharsetSettingsDefinition.java