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

Gary Poster gary@modernsongs.com
Thu, 10 Apr 2003 17:05:13 -0400


(This is Casey Duncan's idea btw :-)

Having to write

     _(u"Name")

when I mean

     "Name"

for user presentation strings everywhere does not look good at all, and 
has a significant-barrier-of-entry-to-newbies feel to it.  I understand 
the rationale for each of the marks, but could we at least make the _ 
function automatically convert strings to unicode?

Ever-so-slightly better:

     _("Name")

Gary