Opened 17 years ago

Last modified 12 years ago

#6849 closed

UnicodeEncodeError thrown when unicode messages were sent to outlog&errlog — at Initial Version

Reported by: feisan Owned by: nobody
Component: Core (Other) Version: dev
Severity: Normal Keywords: outlog errlog runfcgi unicode
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

pythin manage.py runfcgi --settings=settings \

maxchildren=20 maxspare=10 minspare=2 \
outlog=xxx.out \
errlog=xxx.err

and the view code is

def someview(request):

print u'\u6d4b\u8bd5' #should be sent to outlog, but the UnicodeEncodeError thrown

Change History (1)

by Karen Tracey <kmtracey@…>, 17 years ago

Attachment: 6849.diff added
Note: See TracTickets for help on using tickets.
Back to Top