author | wenzelm |
Fri, 21 Oct 2022 19:14:01 +0200 | |
changeset 76357 | 49463aef2ead |
parent 76356 | 92e9fa289056 |
child 76358 | cff0828c374f |
--- a/src/Pure/General/utf8.scala Fri Oct 21 19:10:38 2022 +0200 +++ b/src/Pure/General/utf8.scala Fri Oct 21 19:14:01 2022 +0200 @@ -7,13 +7,13 @@ package isabelle -import java.nio.charset.Charset +import java.nio.charset.{Charset, StandardCharsets} object UTF8 { /* charset */ - val charset: Charset = Charset.forName("UTF-8") + val charset: Charset = StandardCharsets.UTF_8 def bytes(s: String): Array[Byte] = s.getBytes(charset)