mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-18 03:44:54 -04:00
input stream reader: force utf8, fixes #56
This commit is contained in:
parent
674c535605
commit
99af27fd83
@ -40,7 +40,7 @@ interface AssetsManager {
|
||||
fun readAssetAsStream(resourceLocation: ResourceLocation): InputStream
|
||||
|
||||
fun readAssetAsReader(resourceLocation: ResourceLocation): BufferedReader {
|
||||
return BufferedReader(InputStreamReader(readAssetAsStream(resourceLocation)))
|
||||
return BufferedReader(InputStreamReader(readAssetAsStream(resourceLocation), Charsets.UTF_8))
|
||||
}
|
||||
|
||||
@Deprecated(message = "Will be removed...")
|
||||
|
Loading…
x
Reference in New Issue
Block a user