Read a file character by character/UTF8: Difference between revisions

→‎{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details
(Added Kotlin)
(→‎{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details)
Line 299:
 
=={{header|Kotlin}}==
<lang scala>// version 1.1.12
 
import java.io.File
 
const val EOF = -1
 
fun main(args: Array<String>) {