src/Pure/General/bytes.scala
changeset 80350 96843eb96493
parent 79510 d8330439823a
child 80351 dbbe26afc319
--- a/src/Pure/General/bytes.scala	Tue Jun 11 11:07:48 2024 +0200
+++ b/src/Pure/General/bytes.scala	Tue Jun 11 14:18:19 2024 +0200
@@ -158,7 +158,7 @@
     a
   }
 
-  def text: String = UTF8.decode_permissive(this)
+  def text: String = UTF8.decode_permissive_bytes(this)
 
   def wellformed_text: Option[String] = {
     val s = text