|
|
|
Django, Tomcat & Encoding |
Wed Oct 08 23:40:49 CST 2008发表于[Technorati] Tag results for java |
|
I spent some amount of time this morning dealing with minor encoding irritations in both Django and Tomcat. First Django was not liking my name as a search term (nothing personal, my first name, François, contains a ‘c’ with a cedilla, which soften the ‘c’). Turned out that the Python method urllib.quote_plus() was croaking rather badly and needed to be replaced with the more friendly django.utils.http.urlquote_plus(). You could also use urllib.urlencode(). I just wasn’t using urllib for anythin
|
| 阅读全文... |
相关内容:(RSS) |
| Django, Tomcat & Encoding (2008年10月08日) |
| Django Tips: UTF-8, ASCII Encoding Errors, Urllib2, and MySQL | Django Aware (2008年09月25日) |
| Django (2008年08月06日) |
| Tomcat (2008年05月11日) |
| character-encoding (2007年10月24日) |
| mysqlfaq " Encoding (2007年12月25日) |
| Encoding problem (2008年03月05日) |
| Encoding reputation (2008年06月04日) |
| Django | Integrating Django with a legacy database | Django Documentation (2008年10月09日) |
| django performance (2007年11月01日) |