Skip to content
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

unicode problem at program book #7

Closed
pat1 opened this issue Aug 8, 2016 · 0 comments
Closed

unicode problem at program book #7

pat1 opened this issue Aug 8, 2016 · 0 comments
Labels

Comments

@pat1
Copy link
Owner

pat1 commented Aug 8, 2016

Environment:

Request Method: POST
Request URL: http://zana.radiocittafujiko.it/programsbook/

Django Version: 1.9.8
Python Version: 2.7.5
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.staticfiles',
'autoradio.programs',
'autoradio.jingles',
'autoradio.spots',
'autoradio.playlists',
'autoradio.doc']
Installed Middleware:
['django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.admindocs.middleware.XViewMiddleware',
'django.contrib.messages.middleware.MessageMiddleware']

Traceback:

File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response

  1.                 response = self.process_exception_by_middleware(e, request)
    

File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response

  1.                 response = wrapped_callback(request, _callback_args, *_callback_kwargs)
    

File "/usr/lib/python2.7/site-packages/autoradio/programs/views.py" in programsbook

  1.                                   "  //   Denominazione del canale: "+str(canale), styles["Normal"])
    

Exception Type: UnicodeEncodeError at /programsbook/
Exception Value: 'ascii' codec can't encode character u'\xe0' in position 10: ordinal not in range(128)

@pat1 pat1 added the bug label Aug 8, 2016
@pat1 pat1 closed this as completed in 6531238 Aug 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant