On 06/12/2013 09:36 PM, Brett Delmage wrote:
>
> Characters with diacritics in subscriber names are coming out as "?".
bin/list_members uses the encoding returned by Python's
sys.getdefaultencoding() which is 'ascii' so all non-ascii characters
get converted to '?'
You have a couple of choices:
1) You can edit bin/list_members and replace
ENC = sys.getdefaultencoding()
by
ENC = 'utf-8'
2) Edit /usr/lib/pythonv.v/site.py where v.v is your Python version.
Find the definition of setencoding() and change the4th line from
encoding = "ascii" # Default value set by _PyUnicode_Init()
to
encoding = "utf-8"
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org