{"action":"closed","issue":{"url":"https://api.github.com/repos/sympa-community/sympa/issues/218","repository_url":"https://api.github.com/repos/sympa-community/sympa","labels_url":"https://api.github.com/repos/sympa-community/sympa/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/sympa-community/sympa/issues/218/comments","events_url":"https://api.github.com/repos/sympa-community/sympa/issues/218/events","html_url":"https://github.com/sympa-community/sympa/issues/218","id":301746530,"number":218,"title":"Cannot set Japanese charactors in list subject","user":{"login":"frisky-gh","id":33077500,"avatar_url":"https://avatars2.githubusercontent.com/u/33077500?v=4","gravatar_id":"","url":"https://api.github.com/users/frisky-gh","html_url":"https://github.com/frisky-gh","followers_url":"https://api.github.com/users/frisky-gh/followers","following_url":"https://api.github.com/users/frisky-gh/following{/other_user}","gists_url":"https://api.github.com/users/frisky-gh/gists{/gist_id}","starred_url":"https://api.github.com/users/frisky-gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frisky-gh/subscriptions","organizations_url":"https://api.github.com/users/frisky-gh/orgs","repos_url":"https://api.github.com/users/frisky-gh/repos","events_url":"https://api.github.com/users/frisky-gh/events{/privacy}","received_events_url":"https://api.github.com/users/frisky-gh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-02T12:10:41Z","updated_at":"2018-03-06T03:23:36Z","closed_at":"2018-03-06T03:23:36Z","author_association":"NONE","body":"At setting page \"/wws/edit_list_request/LIST-ID/description\", I cannot set Japanese characters in list subject.\r\nIf I set subject including characters such as \"あ\", those characters store as invalid, such as \"ÃÂ\".\r\nI use sympa-6.2.16 (debian stable).\r\n\r\nIt is caused by character encoding. Perhaps, it will be fixed following patch:\r\n\r\n```\r\n--- /usr/share/sympa/lib/Sympa/List.pm.orig     2018-03-02 20:50:29.223568943 +0900\r\n+++ /usr/share/sympa/lib/Sympa/List.pm  2018-03-02 20:50:49.984497769 +0900\r\n@@ -8614,7 +8614,7 @@\r\n                 $p->{'hour'}, $p->{'minute'};\r\n             $fd->print(sprintf \"%s %s\\n\\n\", $key, $value);\r\n         } else {\r\n-            $fd->print(sprintf \"%s %s\\n\\n\", $key, $p);\r\n+          $fd->print(sprintf \"%s %s\\n\\n\", $key, Encode::decode_utf8($p));\r\n         }\r\n     }\r\n\r\n```"}}
{"actor":{"display_login":"frisky-gh"}}