Sphene Community Tools

Community

Copyright © 2007-2018 by Herbert Poul

You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools
Board » General » when I use the none english character in the wiki page, I got this error

==========================================================================
Environment:

Request Method: GET
Request URL: http://www.abc.com/ggum/wiki/diff/Start/85/
Django Version: 0.97-pre-SVN-7375
Python Version: 2.4.4
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'home',
'sphene.community',
'sphene.sphboard',
'sphene.sphblog',
'sphene.sphwiki']
Installed Middleware:
('sphene.community.middleware.ThreadLocals',
'sphene.community.middleware.GroupMiddleware',
'sphene.community.middleware.LastModified',
'sphene.community.middleware.PermissionDeniedMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware')


Traceback:
File "/data/lib/django_trunk/django/core/handlers/base.py" in get_response
82. response = callback(request, *callback_args, **callback_kwargs)
File "/data/lib/communitytools/sphenecoll/sphene/sphwiki/views.py" in diff
169. context = True, )
File "/usr/pkg/lib/python2.4/difflib.py" in make_table
1929. s.write( fmt % (next_id,next_href,fromlist,

Exception Type: UnicodeEncodeError at /ggum/wiki/diff/Start/85/
Exception Value: 'ascii' codec can't encode characters in position 152-157: ordinal not in range(128)

=========================================================================

It does not treat none enligsh charater properly.

Can you check the reason?

Thanks allways.
hi,

difflib handles unicode correctly only since python 2.5 :( .. i have no idea what i could do about that.. (this is why i'm running python 2.5 on this server..)
Hey, we have Signatures !!! Great, isn't it ? ;)

Please login to post a reply.



Powered by Sphene Community Tools