some-programs / exitwp

Exitwp is tool primarily aimed for making migration from one or more wordpress blogs to the jekyll blog engine as easy as possible.
686 stars 145 forks source link

ValueError: multi-byte encodings are not supported #58

Open onmyway133 opened 9 years ago

onmyway133 commented 9 years ago

I'm using exitwp to migrate from Wordpress to Octopress

but then I get ValueError: multi-byte encodings are not supported.

My wordpress.xml is <?xml version="1.0" encoding="UTF-7" ?>, so I must convert it to UTF-8 for it to work. Hope it helps someone

thomasf commented 9 years ago

One of the big issues I had when migrating a bunch of blogs when I created exitwp was that wordpress (or maybe plugins) also more or less had ignored the encodings to begin with so what the header said did not have a relation to the actual content. The code probably reflects this by enforcing some encodings by default, I have started to forget how exitwp works since it now was some time since I last used it so you probably know more than me at this point.