I've got some localized strings with Unicode literals in them, like so
"some_key" = "\u{1F6C8} Some info text";
which I assign to UILabel
myLabel.text = "some_key".localized
Where localized
getter looks like that
extension String {
var localized: String {
return NSLocalizedString(self, comment: "")
}
}
I would expect the label would display this symbol at the beginning of my text. But instead, it just prints the symbol's code, like so
What's the problem?