Re: Parsing XML containing UTF8 with clojure.xml/parse

2009-08-12 Thread Richard Newman
> However, I get the feeling Clojure is not the problem. > I noticed, I forgot the "UTF-8" on the *output*. beh.. > Now, Vim seems to be happy with the file. I had a similar issue -- every Java component (e.g., Nailgun, which VimClojure uses) needs to be started with the right character set. h

Re: Parsing XML containing UTF8 with clojure.xml/parse

2009-08-12 Thread Meikel Brandmeyer
Hi, On Aug 12, 4:30 pm, B Smith-Mannschott wrote: > Please post code. Show us what you are trying to do, so we can help > instead of just guessing. I have a file which looks roughly like this: In fact things are more complicated, but also happens when I change the file to the above form. Un

Re: Parsing XML containing UTF8 with clojure.xml/parse

2009-08-12 Thread B Smith-Mannschott
On Wed, Aug 12, 2009 at 16:22, Meikel Brandmeyer wrote: > > Hi Stephen, > > On Aug 12, 3:57 pm, "Stephen C. Gilardi" wrote: >> > I have to parse some XML files with c.x/parse. However the files >> > contain UTF-8 characters, which end up as '?' after being parsed by >> > c.x/parse. Is there some

Re: Parsing XML containing UTF8 with clojure.xml/parse

2009-08-12 Thread B Smith-Mannschott
Hi Meikel, On Wed, Aug 12, 2009 at 10:16, Meikel Brandmeyer wrote: > > Dear Clojurians, > > I have to parse some XML files with c.x/parse. However the files > contain UTF-8 characters, which end up as '?' after being parsed by > c.x/parse. Is there some possibility to correctly parse the files? I

Re: Parsing XML containing UTF8 with clojure.xml/parse

2009-08-12 Thread Meikel Brandmeyer
Hi Stephen, On Aug 12, 3:57 pm, "Stephen C. Gilardi" wrote: > > I have to parse some XML files with c.x/parse. However the files > > contain UTF-8 characters, which end up as '?' after being parsed by > > c.x/parse. Is there some possibility to correctly parse the files? I > > suspect there is s

Re: Parsing XML containing UTF8 with clojure.xml/parse

2009-08-12 Thread Stephen C. Gilardi
I have to parse some XML files with c.x/parse. However the files contain UTF-8 characters, which end up as '?' after being parsed by c.x/parse. Is there some possibility to correctly parse the files? I suspect there is some settings somewhere in my Clojure/JVM/System which makes the whole thing fa

Parsing XML containing UTF8 with clojure.xml/parse

2009-08-12 Thread Meikel Brandmeyer
Dear Clojurians, I have to parse some XML files with c.x/parse. However the files contain UTF-8 characters, which end up as '?' after being parsed by c.x/parse. Is there some possibility to correctly parse the files? I suspect there is some settings somewhere in my Clojure/JVM/System which makes