From 367357fafd72a6753798ceab3765055a2121a13d Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 19 Jan 2012 11:48:43 +0530 Subject: [PATCH] utf-8 encode response message while sending email response message --- erpnext/support/doctype/support_ticket/support_ticket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/support/doctype/support_ticket/support_ticket.py b/erpnext/support/doctype/support_ticket/support_ticket.py index 27e6d7da17..bdf3c9a21e 100644 --- a/erpnext/support/doctype/support_ticket/support_ticket.py +++ b/erpnext/support/doctype/support_ticket/support_ticket.py @@ -36,7 +36,7 @@ class DocType(TransactionBase): recipients = [self.doc.raised_by], \ sender=webnotes.conn.get_value('Email Settings',None,'support_email'), \ subject=subject, \ - msg=response) + msg=response.encode('utf-8')) self.doc.new_response = None webnotes.conn.set(self.doc,'status','Waiting for Customer')