Are you on Windows?
See: Unicode code point for U+10000 on Windows OS. Use in string results in Illegal character code