help with django and accented characters?
- by Asinox
Hi guys, i have a problem with my accented characters, Django admin save my data without encoding to something like "á"
Example: if im trying a word like " Canción ", i would like to save in this way: Canción, and not Canción.
im usign Sociable app:
{% load sociable_tags %}
{% get_sociable Facebook TwitThis Google MySpace del.icio.us YahooBuzz Live as sociable_links with url=object.get_absolute_url title=object.titulo %}
{% for link in sociable_links %}
<a href="{{ link.link }}"><img alt="{{ link.site }}" title="{{ link.site }}" src="{{ link.image }}" /></a>
{% endfor %}
But im getting error if my object.titulo (title of the article) have a accented word.
aught KeyError while rendering: u'\xfa'
Any idea ?
i had in my SETTING:
DEFAULT_CHARSET = 'utf-8'
i had in my mysql database:
utf8_general_ci
thanks, sorry with my English