Hello! `Char.Companion.toChars` marked deprecated,...
# kotlin-native
p
Hello!
Char.Companion.toChars
marked deprecated, is there any replacement(perfectly available in KMP)?
l
Yes, see blogpost for 1.5 stdlib changes.
👍 1
p
@louiscad I need to build an emoji, I’m using
Char.toChars(0x1F1E6 - 0x41 + ‘A’.code).concatToString()
to get 🇦 emoji (and then build a country flag of two such letters) I checked out https://blog.jetbrains.com/kotlin/2021/04/kotlin-1-5-0-rc-released, but I can’t seem to find the replacement. What am I missing?