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 fail, but I have no clue how to find out
where to look...

Hi Meikel,

I haven't used clojure.xml yet.

Does this help get you going:

        http://groups.google.com/group/clojure/msg/0f6dc9ec66b852fe

More generally, you should also be able to specify the encoding by arranging for an InputStreamReader with a properly specified "charset" (like "UTF8") to wrap your input byte source.

--Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to