[Zope3-dev] i18n, unicode, and the underline

Fred L. Drake, Jr. fred@zope.com
Thu, 10 Apr 2003 17:37:36 -0400


Gary Poster writes:
 > Having to write
 > 
 >      _(u"Name")
...
 > Ever-so-slightly better:
 > 
 >      _("Name")

Excellent!  I'd also suggest that things like zope.schema.Field accept
ASCII strings as non-Unicode strings, and convert internally if
necessary.  Avoiding excess decoration is good.


  -Fred

-- 
Fred L. Drake, Jr.  <fred at zope.com>
PythonLabs at Zope Corporation