Join Slack
Powered by
Anyone know ho to use a unicode character in Text ...
# compose
b
Billy Newman
05/25/2021, 4:11 PM
Anyone know ho to use a unicode character in Text field? Getting an illegal escape error using this:
Copy code
Text(text = "\u202")
d
Daniel
05/25/2021, 4:33 PM
That's because
\u202
is invalid unicode. Try pasting in an emoji or something, it should just work
e
ephemient
05/25/2021, 5:56 PM
Kotlin only accepts 4-digit
\uABCD
unicode escapes. what are you trying to do?
11
Views
Open in Slack
Previous
Next