-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
strings"Strings!""Strings!"unicodeRelated to unicode characters and encodingsRelated to unicode characters and encodings
Description
This seems weird:
julia> "\x94"[1]
'\x94': Malformed UTF-8 (category Ma: Malformed, bad data)
julia> '\x94'
ERROR: syntax: invalid empty character literalShouldn't you be able to enter '\x...' for such characters, so that the literal format matches the repr?
cc @StefanKarpinski, who designed Char in #24999.
Metadata
Metadata
Assignees
Labels
strings"Strings!""Strings!"unicodeRelated to unicode characters and encodingsRelated to unicode characters and encodings