-
Notifications
You must be signed in to change notification settings - Fork 0
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
Special characters #24
Comments
Hi @FraGard I created a function to deal with this issue, it transforms the special characters as follows: |
Thanks! I think ü is usually transformed to ue. I found other characters the python code does not like:
There are many more characters I imagine, since the jekyll serve is still not working for most presentations now. I wonder whether there is a more efficient way to do this? Any way to turn all unknown characters into something, instead of blocking the conversion? Modules should in principle be uploaded by people all over the world, with all sorts of languages and strange signs in their presentations. |
There is a way to deal with this - https://docs.python.org/3/library/codecs.html |
Honestly, I think that here the problem it's still related to something that is not working correctly with @FraGard's configuration of Python/Jekyll/html because I tried to convert a module with any kind of strange character and it works just fine. However, I have no idea on where the problem could be there |
It could well be a Windows/Linux issue. Unless we can recreate the issue, we cannot fix it - best to understand first the conditions needed to recreate this unwanted behaviour. By doing that, you'll normally identify the problem. Still, not a priority for the moment. |
When I try
Jekyll serve
An error appears, due to special characters detected during the conversion of the modules to .html files.
These are identified as special characters, as far as I saw with the first modules:
'''
'...'
'-'
ü (in references, like Müller et al.)
The text was updated successfully, but these errors were encountered: