#2267: Error on object dispatch with unicode paths
------------------------+---------------------------------------------------
 Reporter:  droggisch   |        Owner:        
     Type:  defect      |       Status:  new   
 Priority:  normal      |    Milestone:  2.0rc1
Component:  TurboGears  |      Version:  2.0b7 
 Severity:  normal      |   Resolution:        
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by droggisch):

 Seems so, yes

 {{{

 #-*- coding: utf-8 -*-

 class MyController(object):
     def i_want_umlauts(self):
         pass


 setattr(MyController, u'ich-möchte-umlaute'.encode('utf-8'),
 MyController.i_want_umlauts)
 }}}

 So I propose to change the code that it does an encode('utf-8') for parts.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2267#comment:2>
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.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to