Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

ValueError: multi-byte encodings are not supported #58

Open
onmyway133 opened this issue Sep 19, 2015 · 1 comment
Open

ValueError: multi-byte encodings are not supported #58

onmyway133 opened this issue Sep 19, 2015 · 1 comment

Comments

@onmyway133
Copy link

I'm using exitwp to migrate from Wordpress to Octopress

  • I export my Wordpress (4.3.1) posts to wordpress.xml
  • I add xmlns:atom="http://www.w3.org/2005/Atom to my rss element

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
Copy link
Collaborator

thomasf commented Sep 19, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants