#2002: Automatically remove smart-quotes ( cp1252 )
-----------------------------+----------------------------------------------
 Reporter:  Simon Greenhill  |       Owner:  adrian
     Type:  enhancement      |      Status:  new   
 Priority:  low              |   Milestone:        
Component:  Validators       |     Version:        
 Severity:  normal           |    Keywords:        
-----------------------------+----------------------------------------------
 Wouldn't it be wonderful if Django automatically FIXED the "smart" quotes
 injected by various Windows/OSX apps? Not sure if this is possible without
 trying to work out what char. encoding the website wants, but maybe this
 can be done by the validator framework?
 
 There's a Universal Encoding Detector in python at
 http://chardet.feedparser.org/, or it might be possible to just
 search'n'replace \x91, \x92 (single left&right quotes), \x93, \x94 (double
 left&right quotes), \x96 & \x97 ( emdashes ) and  \x85 ( ellipsis ).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2002>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to