{"action":"created","issue":{"url":"https://api.github.com/repos/interconnectit/Search-Replace-DB/issues/47","labels_url":"https://api.github.com/repos/interconnectit/Search-Replace-DB/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/interconnectit/Search-Replace-DB/issues/47/comments","events_url":"https://api.github.com/repos/interconnectit/Search-Replace-DB/issues/47/events","html_url":"https://github.com/interconnectit/Search-Replace-DB/issues/47","id":24939349,"number":47,"title":"Cli issue with UTF8 strings","user":{"login":"kadre77","id":2088011,"avatar_url":"https://avatars.githubusercontent.com/u/2088011?v=3","gravatar_id":"","url":"https://api.github.com/users/kadre77","html_url":"https://github.com/kadre77","followers_url":"https://api.github.com/users/kadre77/followers","following_url":"https://api.github.com/users/kadre77/following{/other_user}","gists_url":"https://api.github.com/users/kadre77/gists{/gist_id}","starred_url":"https://api.github.com/users/kadre77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadre77/subscriptions","organizations_url":"https://api.github.com/users/kadre77/orgs","repos_url":"https://api.github.com/users/kadre77/repos","events_url":"https://api.github.com/users/kadre77/events{/privacy}","received_events_url":"https://api.github.com/users/kadre77/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-01-01T10:34:31Z","updated_at":"2015-11-19T11:15:23Z","closed_at":"2015-11-19T11:15:23Z","body":"I'm using cli mode for version 3.0.0-beta.\r\n\r\nThe search and replace is corrupting the utf8 strings in my database that are modified by the replace.\r\n\r\nAs a quick fix i added in file srdb.class.php under line 449 the following:\r\n$connection->exec(\"set names utf8\");\r\n\r\nafter this change it works fine for me."},"comment":{"url":"https://api.github.com/repos/interconnectit/Search-Replace-DB/issues/comments/158026044","html_url":"https://github.com/interconnectit/Search-Replace-DB/issues/47#issuecomment-158026044","issue_url":"https://api.github.com/repos/interconnectit/Search-Replace-DB/issues/47","id":158026044,"user":{"login":"matt-icit","id":11349605,"avatar_url":"https://avatars.githubusercontent.com/u/11349605?v=3","gravatar_id":"","url":"https://api.github.com/users/matt-icit","html_url":"https://github.com/matt-icit","followers_url":"https://api.github.com/users/matt-icit/followers","following_url":"https://api.github.com/users/matt-icit/following{/other_user}","gists_url":"https://api.github.com/users/matt-icit/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-icit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-icit/subscriptions","organizations_url":"https://api.github.com/users/matt-icit/orgs","repos_url":"https://api.github.com/users/matt-icit/repos","events_url":"https://api.github.com/users/matt-icit/events{/privacy}","received_events_url":"https://api.github.com/users/matt-icit/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T11:15:23Z","updated_at":"2015-11-19T11:15:23Z","body":"We set names now, also fixed various encoding, conversion and display issues."}}