Closed nsteinmetz closed 13 years ago
That's probably an easy one to fix, just go to the importer code (tools/pelican-import) and a) check that the file is encoded in the right format (utf-8) b) replace the calls to the builtin "open" with calls to "codecs.open" with the right format of the file c) replace the simple strings by unicode strings when needed.
Thanks for the report, give it a try, it should be really simple to fix. If not, I can have a deeper look later.
No problem, I'll try to fix it in the coming hours or days :)
Another issue is when the slug is having double quotes. Even if escaped, there are a few issues there (1 case in my import) :
"2008/11/04/Modélisation-d-une-relation-\"Je-suis-le-contact/ami-de-...\""
Awesome!
About the second issue, I don't get what is the problem when reading your description.
What are you expecting with this input? What are you having instead?
I have to test deeper if the issue is about quotes or the "/". don't remember well the bug seen last night. Will check this one later too :-)
Fixed with the small fix I provided ; cf pull request https://github.com/ametaireau/pelican/pull/165
Hi,
Just had some issue with the dotclear import around encoding as soon as there are accents in the slug used for the filename. As soon as I remove accents, no troubles.
Platform : OS X Lion 10.7.1, using default terminal.
Example :