{"action":"closed","issue":{"url":"https://api.github.com/repos/CLAMP-IT/moodle-blocks_filtered_course_list/issues/32","labels_url":"https://api.github.com/repos/CLAMP-IT/moodle-blocks_filtered_course_list/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/CLAMP-IT/moodle-blocks_filtered_course_list/issues/32/comments","events_url":"https://api.github.com/repos/CLAMP-IT/moodle-blocks_filtered_course_list/issues/32/events","html_url":"https://github.com/CLAMP-IT/moodle-blocks_filtered_course_list/issues/32","id":119724876,"number":32,"title":"Might be better to use UTF-8 safe method instead of stristr()","user":{"login":"mudrd8mz","id":85831,"avatar_url":"https://avatars.githubusercontent.com/u/85831?v=3","gravatar_id":"","url":"https://api.github.com/users/mudrd8mz","html_url":"https://github.com/mudrd8mz","followers_url":"https://api.github.com/users/mudrd8mz/followers","following_url":"https://api.github.com/users/mudrd8mz/following{/other_user}","gists_url":"https://api.github.com/users/mudrd8mz/gists{/gist_id}","starred_url":"https://api.github.com/users/mudrd8mz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudrd8mz/subscriptions","organizations_url":"https://api.github.com/users/mudrd8mz/orgs","repos_url":"https://api.github.com/users/mudrd8mz/repos","events_url":"https://api.github.com/users/mudrd8mz/events{/privacy}","received_events_url":"https://api.github.com/users/mudrd8mz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-01T14:12:27Z","updated_at":"2015-12-04T03:30:23Z","closed_at":"2015-12-04T03:30:23Z","body":"Just in case that somebody uses non-ascii characters in their course short names, it might be better to replace\r\n```\r\n$satisfies = stristr($coursename, $teststring);\r\n```\r\n\r\nwith https://docs.moodle.org/dev/String_API#strpos"}}