Join GitHub today
[Tests] we need to use system file encoding, if on windows #437
@vanadium23 You're talking about that there is still this error, right?
Let me try to think through this with you. I think this is happening because https://github.com/lektor/lektor/blob/master/tests/test_unicode.py#L11 is passing in a unicode path, but the
I don't have a solution for you at the moment. I hope that helps.
It took me a while but I think I basically understand this now. I do have a question though. Is this really just a problem on PY2? Wouldn't the default encoding be latin1 on PY3 as well, and we'd run into the same problem? Maybe I should just merge this and see. If PY3 fails, appveyor will catch it and we can remove the PY2 bit here. What do you think @vanadium23 ?