I am trying to convert string \u8fc8
to "迈" in scala. The string \u8fc8
is stored as six chars which are '\', 'u', '8', 'f', 'c', '8'.
In Python I can do this:
print("\u8fc8".decode("unicode-escape"))
It prints "迈", but I could not find a way to make that happen in Scala, can any body help me?