It seems like 1.7 changed how default Locales are read from the host:
http://stackoverflow.com/questions/7107972/java-7-default-locale
http://blog.ej-technologies.com/2011/12/default-locale-changes-in-java-7.html
On Sunday, March 17, 2013 10:40:19 PM UTC, dabd wrote:
>
> I'm having this problem ag
I'm having this problem again.
I start the repl with nrepl-jack-in. Also starting it on the command line
with 'lein repl' shows the same problem.
What is causing the JVM to lose the default locale settings (at least in
regard to number formatting)?
Thanks.
On Sunday, March 10, 2013 12:39:57 A
I installed the latest 1.7.0_17 and apparently the issue is gone but I
still don't know what caused it.
Thanks.
On Sunday, March 10, 2013 3:22:21 AM UTC, dabd wrote:
>
> I am trying to run clojure on windows 7 with this java version:
> java version "1.7.0_05"
> Java(TM) SE Runtime Environment (bu
I am trying to run clojure on windows 7 with this java version:
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
The decimal separator used to be a dot but for some reason it changed to a
comma recently. I
What OS and version of Java are you using (output of "java -version", and if on
Linux "lsb_release -a" and "uname -a").
Are you doing these commands one after another in a single REPL session? If
so, how did you start that REPL?
I've tried the commands you mention on these OS and JDK combos wi
On my system I have:
> *clojure-version*
{:major 1, :minor 4, :incremental 0, :qualifier nil}
> (java.util.Locale/getDefault)
#
> (format "%.1f" 0.5)
"0,5"
> (java.lang.String/format (java.util.Locale/getDefault) "%.1f" (to-array
[0.5]))
"0.5"
but
> (java.lang.String/format "%.1f" (to-arr