Possible Duplicate:
How to Force a jar to uses(or the jvm runs in) utf-8 instead of the system's default encoding
I have a bunch of Strings that I want to read in as UTF-8. Is there a way to force this encoding in Scala, without passing a command-line parameter?
For example, I want to do something like val utf8EncodedString = new String(myString, "UTF-8")
.