public String getLabel(String prefixStr, String abbrevPrefixStr, String defaultStr,
			DataTypeDisplayOptions options) {
		if (isProbe() || isBadCharSize()) {
			return defaultStr;
		}

		if (options.useAbbreviatedForm()) {
			// no data from the data instance is used, just its abbrev type prefix and its address
			return abbrevPrefixStr;
		}

		String str =
			showTranslation && translatedValue != null ? translatedValue : getStringValue();
		if (str == null) {
			return defaultStr;
		}
		if (str.length() == 0) {
			return prefixStr;
		}

		return makeStringLabel(prefixStr, str, options);
	}
Convert a char value (or sequence of char values) in memory into its canonical unicode
representation, using attached charset and encoding information.

@return String containing the representation of the char.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/StringDataInstance.java