Kotlin : Unsafe encoding