mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-22 08:42:38 +00:00
pretend log messages are utf8
This commit is contained in:
1 file changed
+1
-1
@@ -9,7 +9,7 @@ import okio.BufferedSource
|
|||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
|
|
||||||
fun BufferedSource.readCChar(): Char {
|
fun BufferedSource.readCChar(): Char {
|
||||||
return this.readByte().toInt().toChar()
|
return this.readUtf8CodePoint().toChar()
|
||||||
}
|
}
|
||||||
|
|
||||||
fun BufferedSource.readCString(): String {
|
fun BufferedSource.readCString(): String {
|
||||||
|
|||||||
Reference in new issue
Block a user