diff options
author | michelou <michelou@epfl.ch> | 2007-02-07 14:37:44 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-02-07 14:37:44 +0000 |
commit | 9be1288dec994c96ab4619b7e3ffb096664ba01a (patch) | |
tree | 151e74cd5334f3ce38c758502032e6e2112705d1 /src/compiler/scala/tools/nsc/Properties.scala | |
parent | 60b6ba084f25042e6e92e6506eaf28aa598dc097 (diff) | |
download | scala-9be1288dec994c96ab4619b7e3ffb096664ba01a.tar.gz scala-9be1288dec994c96ab4619b7e3ffb096664ba01a.tar.bz2 scala-9be1288dec994c96ab4619b7e3ffb096664ba01a.zip |
moved encoding value to object Properties
Diffstat (limited to 'src/compiler/scala/tools/nsc/Properties.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/Properties.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/Properties.scala b/src/compiler/scala/tools/nsc/Properties.scala index 9d7fb0fa33..277cc0a36c 100644 --- a/src/compiler/scala/tools/nsc/Properties.scala +++ b/src/compiler/scala/tools/nsc/Properties.scala @@ -37,6 +37,11 @@ object Properties { props.getProperty("copyright.string", defaultString) } + val encodingString: String = { + val defaultString = "ISO-8859-1" + props.getProperty("file.encoding", defaultString) + } + val scalaHome: String = System.getProperty("scala.home") |