Re: [R] Weird 'xmlEventParse' encoding issue

2013-07-16 Thread Duncan Temple Lang
Hi Sascha Your code gives the correct results on my machine (OS X), either reading from the file directly or via readLines() and passing the text to xmlEventParse(). The problem might be the version of the XML package or your environment settings. And it is important to report the session info

[R] Weird 'xmlEventParse' encoding issue

2013-07-15 Thread Sascha Wolfer
Dear list, I have got a weird encoding problem with the xmlEventParse() function from the 'XML' package. I tried finding an answer on the web for several hours and a Stack Exchange question came back without success :( So here's the problem. I created a small XML test file, which looks like