I'm having difficulty running Clojure under z/OS.  If I download a
current Clojure onto my Gentoo Linux system and build it so:
   svn checkout http://clojure.googlecode.com/svn/trunk/ clojure-read-
only
   cd clojure-read-only
   ant
Then I can treat myself to a delicious REPL:
   ~/clojure-read-only $ java -cp clojure.jar clojure.lang.Repl
   Clojure
   user=> (+ 1 1)
   2

So I move this write-once-read-anywhere bundle to z/OS: I tar the
clojure-read-only directory, binary-ftp it to my z/OS system, ssh in
to *that* and untar the archive, ending up with an identical clojure-
read-only directory on the z/OS filesystem.

But now I have serious code page issues.  The best I can get out of
Clojure here is:
   $ java -Dfile.encoding=ISO8859-1 -Dconsole.encoding=IBM-1047 -cp
clojure.jar clojure.lang.Repl
   Clojure
   user=> (+ 1 1)
   java.lang.Exception: Unable to resolve symbol: MN in this context
(NO_SOURCE_FILE:0)
   java.lang.Exception: Unable to resolve symbol: ��� in this context
(NO_SOURCE_FILE:0)

One person suggested to me that "The code is probably doing something
odd with how it reads input, making bad assumptions about the codepage
being "ASCII". Running with ISO8859-1 as the file encoding usually
fixes this, but apparently not in this case."  I'm well out of my
depth here, and wonder if anyone has a suggestion on how I can
proceed?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to