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
Please post code. Show us what you are trying to do, so we can help
instead of just guessing.
// Ben
You shouldn't have to. XML is funny that way:
InputStream is a stream of *bytes*, not characters. XML will try to
parse as UTF-8 if it doesn't find a <?xml ... ?> header specifying
some other encoding. So, in your case it should "just work" unless the
files I believe to be UTF-8 aren't actually UTF-8.
// Ben
I had a similar issue -- every Java component (e.g., Nailgun, which
VimClojure uses) needs to be started with the right character set.