Re: [Mailman-Users] Mailman 3 list description - non-ASCII characters?
>>I'd like to use non-ASCII characters in list description. >>To keep it simple, let's assume I want the list description to be >>single character "á" (Unicode: \u00e1, UTF-8: C3 A1). >>I can enter such a description in list identity page >>(http://MYHOST:8000/mailman3/lists/MYLIST/settings/list_identity, field >>Description). >>After hitting Save changes the description still reads "á", but >>reloading the settings page yields a single question mark "?" there. >>Lists overview (http://MYHOST:8000/mailman3/lists/) shows "?" too in >>Description column. >Barry Warsaw: >I don't know whether that's a problem in Postorius, core, or both. >You'd have to inspect the database entry or the ORM MailingList object >to see what's stored in the core. There are several ways to do this; >if you're using SQLite, you could dump out the database table directly. Let's see: root@srv01:/opt/mailman/mailman-bundler/var/data# sqlite3 mailman.db sqlite> select description from mailinglist; ? sqlite> select unicode(description) from mailinglist; 63 sqlite> update mailinglist set description="á" where description="?"; sqlite> select description from mailinglist; á sqlite> select unicode(description) from mailinglist; 225 After this update, the description is what I wanted. It shows correctly both in lists overview and in the list identity page. If I hit Save changes from GUI, I get "?" again. So it would seem the problem is getting non-ASCII char from GUI to the db. I even tried the db-update-way with longer non-ASCII strings, and everything was fine up until (re)saving the description from GUI. Shall I file a bug? Thanks, -igor -- Mailman-Users mailing list Mailman-Users@python.org https://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: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Mailman 3 list description - non-ASCII characters?
On Feb 24, 2016, at 02:51 PM, Igor Maly wrote: >I'd like to use non-ASCII characters in list description. >To keep it simple, let's assume I want the list description to be single >character "á" (Unicode: \u00e1, UTF-8: C3 A1). >I can enter such a description in list identity page >(http://MYHOST:8000/mailman3/lists/MYLIST/settings/list_identity, field >Description). >After hitting Save changes the description still reads "á", but reloading >the settings page yields a single question mark "?" there. >Lists overview (http://MYHOST:8000/mailman3/lists/) shows "?" too in >Description column. I don't know whether that's a problem in Postorius, core, or both. You'd have to inspect the database entry or the ORM MailingList object to see what's stored in the core. There are several ways to do this; if you're using SQLite, you could dump out the database table directly. Or you can use `mailman shell` to get a prompt, load the mailing list, and print its description. Or you can use e.g. the curl command line to query the REST API. If the value is correct in the core, then it's a display problem in Postorius. You can also file a bug for the core and Postorius and let us sort it out. :) Cheers, -Barry -- Mailman-Users mailing list Mailman-Users@python.org https://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: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Mailman 3 list description - non-ASCII characters?
Hello all, I've been playing with Mailman 3 and ran into this issue: I'd like to use non-ASCII characters in list description. To keep it simple, let's assume I want the list description to be single character "á" (Unicode: \u00e1, UTF-8: C3 A1). I can enter such a description in list identity page (http://MYHOST:8000/mailman3/lists/MYLIST/settings/list_identity, field Description). After hitting Save changes the description still reads "á", but reloading the settings page yields a single question mark "?" there. Lists overview (http://MYHOST:8000/mailman3/lists/) shows "?" too in Description column. Is there any configuration option to enable non-ASCII characters here, or am I stuck? Best regards, Igor Maly -- Mailman-Users mailing list Mailman-Users@python.org https://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: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org