07-20-2023, 04:25 PM
`Kotlin` does not support the escape `"\f"` (Form Feed Character). So what is the proper way port `"\f"` from `java` to `Kotlin`?
Java:
String str = "\f"; // OK
Kotlin:
var str = "\f" // Illegal escape: '\f'
Anyway, that looked like a bug to me because Kotlin and java should work well together.
Java:
String str = "\f"; // OK
Kotlin:
var str = "\f" // Illegal escape: '\f'
Anyway, that looked like a bug to me because Kotlin and java should work well together.