#4662: [unicode] truncate_html_words doesn't work for non-latin characters
----------------------------------------------------------+-----------------
   Reporter:  Ivan Sagalaev <[EMAIL PROTECTED]>  |                Owner:  jacob 
       
     Status:  new                                         |            
Component:  Uncategorized
    Version:  unicode                                     |           
Resolution:               
   Keywords:                                              |                
Stage:  Unreviewed   
  Has_patch:  1                                           |           
Needs_docs:  0            
Needs_tests:  0                                           |   
Needs_better_patch:  0            
----------------------------------------------------------+-----------------
Comment (by Ivan Sagalaev <[EMAIL PROTECTED]>):

 > Do we need to compile with re.UNICODE?
 
 Yes. Because otherwise \w means only [A-Za-z0-9_]. re.UNICODE switches re
 to use unicode db to get the notion of "letter".

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4662#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to