Unicode fast special characters in string literals
I am trying to do an experiment in Swift as written in the Apple developer documentation:
let encircledLetter: Character = "i\u{20DD}"
But unfortunately the compiler reports an error
\u escape sequence expects 4 hex digits to follow it
I'm brand new to Swift, so I don't know if I missed something here.
+3
source to share