We have key-value pair in Localization.string file.
\"spanish-key\" = \"Espa\\u00f1ol\";
When we fetch and assign to label then app display
NSString
literals and strings-files use different escaping rules.
NSString
literals use the same escape sequences as "normal" C-strings, in particular
the "universal character names" defined in the C99 standard:
\unnnn - the character whose four-digit short identifier is nnnn
\Unnnnnnnn - the character whose eight-digit short identifier is nnnnnnnn
Example:
NSString *string = @"Espa\u00F1ol - \U0001F600"; // Español -
Just write the string in proper Unicode in Localization.string.
"spanish-key" = "Español";