How can I convert this type of hex string
🚗
to emoji, and vice versa?
I have tried to use this, but its returns same string
func decode(_ s: String) -> String? {
let data = s.data(using: .utf8)!
return String(data: data, encoding: .nonLossyASCII)
}