﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
4834	UnicodeEncodeError in admin change_form page	perol.chen@…	Adrian Holovaty	"Hi,

when i open the change_form page in admin, i occur the error below:
{{{ 
  Request Method:  	GET[[BR]]

  Request URL: 	/admin/comment/comment/53/ [[BR]]

  Exception Type: 	UnicodeEncodeError[[BR]]

  Exception Value: 	'ascii' codec can't encode characters in position 4-10: ordinal not in range(128)[[BR]]

  Exception Location: 	C:\Python25\lib\site-packages\django\utils\encoding.py in force_unicode, line 40[[BR]]

  Python Executable: 	C:\Python25\python.exe[[BR]]

  Python Version: 	2.5.1[[BR]]


C:\Python25\lib\site-packages\django\utils\encoding.py in force_unicode
  37. if hasattr(s, '__unicode__'):
  38. s = unicode(s)
  39. else:
'''  40. s = unicode(str(s), encoding, errors) ...             #this is the error line'''
  41. elif not isinstance(s, unicode):
  42. s = unicode(s, encoding, errors)
  43. return s

perol.chen
}}}"		closed	contrib.admin	dev		invalid	UnicodeEncodeError		Unreviewed	0	0	0	0	0	0
