Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for UTF-8 characters in wiki page names and contents #24

Merged
merged 1 commit into from
Feb 25, 2017
Merged

Fix for UTF-8 characters in wiki page names and contents #24

merged 1 commit into from
Feb 25, 2017

Conversation

scheibel
Copy link
Contributor

This is a quick fix I needed while using your script.
I think the repeated UTF-8 conversion could be eliminated but that wasn't the scope of this fix.

in wiki page names and contents
@peterjc
Copy link
Owner

peterjc commented Feb 24, 2017

Were you running this on Python 2 or Python 3?

(I was probably using Python 2 as I don't recall this being an issue for me)

@scheibel
Copy link
Contributor Author

I'm running Python 2.7.12, python 3 crashes way too early on your script.
My wiki pages contained UTF-8 characters (ä, ö, ü, ß, and à) in both titles and contents.

@peterjc peterjc merged commit 1ad6868 into peterjc:master Feb 25, 2017
@peterjc
Copy link
Owner

peterjc commented Feb 25, 2017

This is ringing a bell now, I think I saw this on one user page but in the end didn't convert the user pages on that wiki. I thought I would have filed an issue but I can't find it.

Merged since if it worked for you, it will likely help someone else in future. Right now I am unlikely to need the script again myself.

Thank you!

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

Successfully merging this pull request may close these issues.

None yet

2 participants