Name |
Last commit
|
Last update |
---|---|---|
.. | ||
features | ||
management | ||
migrations | ||
tests | ||
views | ||
__init__.py | ||
admin.py | ||
context_processors.py | ||
course_info_model.py | ||
debug_file_uploader.py | ||
git_export_utils.py | ||
models.py | ||
tasks.py | ||
utils.py |
When people use unicode course org name(e.g Chinese) ,urllib.quote cannot format unicode char like: ```shell >>> import urllib >>> loc = 'i4x://创联/7302478/chapter/4ab413b41ad9447db41668bed03f149f' >>> urllib.quote(loc) 'i4x%3A//%E5%88%9B%E8%81%94/7302478/chapter/4ab413b41ad9447db41668bed03f149f' >>> urllib.quote(unicode(loc)) Traceback (most recent call last): File "<console>", line 1, in <module> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 6: ordinal not in range(128) >>> ``` so I open this pull
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
features | Loading commit data... | |
management | Loading commit data... | |
migrations | Loading commit data... | |
tests | Loading commit data... | |
views | Loading commit data... | |
__init__.py | Loading commit data... | |
admin.py | Loading commit data... | |
context_processors.py | Loading commit data... | |
course_info_model.py | Loading commit data... | |
debug_file_uploader.py | Loading commit data... | |
git_export_utils.py | Loading commit data... | |
models.py | Loading commit data... | |
tasks.py | Loading commit data... | |
utils.py | Loading commit data... |