diff options
author | Burak Emir <emir@epfl.ch> | 2007-07-12 06:48:28 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2007-07-12 06:48:28 +0000 |
commit | a31348e99a346b8fef02ad7f5dcadce5ab118b0a (patch) | |
tree | a94d48a9361f5d20dc6f9b5a39b42791d524d5ab | |
parent | c2cd1c0ece2aba33d732111c95f3696f4a714c1b (diff) | |
download | scala-a31348e99a346b8fef02ad7f5dcadce5ab118b0a.tar.gz scala-a31348e99a346b8fef02ad7f5dcadce5ab118b0a.tar.bz2 scala-a31348e99a346b8fef02ad7f5dcadce5ab118b0a.zip |
changed constructor call String(bytes) to Strin...
changed constructor call String(bytes) to String(bytes,"utf8")
-rw-r--r-- | src/library/scala/xml/Utility.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/xml/Utility.scala b/src/library/scala/xml/Utility.scala index 53a974bca1..e0a0f8cc47 100644 --- a/src/library/scala/xml/Utility.scala +++ b/src/library/scala/xml/Utility.scala @@ -476,7 +476,7 @@ object Utility extends AnyRef with parsing.TokenTests { } nextch() } - new String(io.UTF8Codec.encode(i)) + new String(io.UTF8Codec.encode(i),"utf8") } } |