On 10/04/2017 12:33 PM, thor.rustad@gmail.com wrote:
I finally got around to testing this setup. First I verified that the template in /var/templates/site/no was picked up when subscribing. Then I changed the text, and it stopped working. If I add one of these three Norwegian letters to list:user:action:subscribe.txt, I get the following in logs/mailman.log:
UnicodeEncodeError: 'ascii' codec can't encode character '\xe5' in position 153: ordinal not in range(128)
Oct 04 19:18:41 2017 (29) Uncaught runner exception: 'ascii' codec can't encode character '\xe5' in position 153: ordinal not in range(128)
...
File "/usr/local/lib/python3.6/site-packages/mailman/app/subscriptions.py", line 576, in _handle_confirmation_needed_events
msg = UserNotification(email_address, confirm_address, subject, text)
File "/usr/local/lib/python3.6/site-packages/mailman/email/message.py", line 124, in __init__
@public
???
UnicodeEncodeError: 'ascii' codec can't encode character '\xe5' in position 153: ordinal not in range(128)
Oct 04 19:18:41 2017 (29) SHUNTING: 1507144721.896973+35dc93aa969a0934bf717ca07965b09924eca59d
See my comment at <https://gitlab.com/mailman/mailman/issues/413#note_42453740>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan