#1135: [PATCH] fixes for lazystring __unicode__ and __str__ methods
-----------------------------------------+----------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  anonymous       
     Type:  defect                       |      Status:  new             
 Priority:  normal                       |   Milestone:  1.0b2           
Component:  TurboGears                   |     Version:  1.0b1           
 Severity:  normal                       |    Keywords:  i18n, lazystring
-----------------------------------------+----------------------------------
 This patch fixes the following problems:

 1) {{{__str__}}} function raises UnicodeDecodeError when the value
 returned by self.eval() contains non-ascii characters

 2) {{{__unicode__}}} function raises "Decoding Unicode not supported"
 error when self.eval() returns unicode

 I am not sure if this is the best way to fix it, it works for me. I hope
 i18n guru's can take a look at it.

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1135>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to