Special (accented) characters in toolchain/algorithm description causes error
I've noticed the following problem with special (accented) characters. When they are used in a toolchain/algorithm description, installing these contributions will just work fine. However, when I try to load the toolchain/algorithm page, the page cannot be loaded properly, and the following error occured:
Subject: [BEAT] ERROR (EXTERNAL IP): Internal Server Error:
/api/algorithms/user/
From: no-reply@beat-project.eu
To: E-MAIL ADDRESS
Date: Tue, 05 May 2015 09:33:03 -0000
Message-ID: <20150505093303.27891.45893@futurix08.idiap.ch>
Internal Server Error: /api/algorithms/user/
Traceback (most recent call last):
File "/idiap/project/beat/beat.env.develop/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 137, in get_response
response = response.render()
File "/idiap/project/beat/beat.env.develop/usr/lib/python2.7/site-packages/django/template/response.py", line 103, in render
self.content = self.rendered_content
File "/idiap/project/beat/beat.env.develop/usr/lib/python2.7/site-packages/rest_framework/response.py", line 59, in rendered_content
ret = renderer.render(self.data, media_type, context)
File "/idiap/project/beat/beat.env.develop/usr/lib/python2.7/site-packages/rest_framework/renderers.py", line 99, in render
separators=separators
File "/idiap/project/beat/beat.env.develop/usr/lib/python2.7/json/__init__.py", line 250, in dumps
sort_keys=sort_keys, **kw).encode(obj)
File "/idiap/project/beat/beat.env.develop/usr/lib/python2.7/json/encoder.py", line 210, in encode
return ''.join(chunks)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 546: ordinal not in range(128)