{"action":"created","issue":{"url":"https://api.github.com/repos/lesterchan/wp-dbmanager/issues/11","labels_url":"https://api.github.com/repos/lesterchan/wp-dbmanager/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/lesterchan/wp-dbmanager/issues/11/comments","events_url":"https://api.github.com/repos/lesterchan/wp-dbmanager/issues/11/events","html_url":"https://github.com/lesterchan/wp-dbmanager/issues/11","id":58270684,"number":11,"title":" Bug if DB password contain special chars","user":{"login":"tyl3r","id":1686118,"avatar_url":"https://avatars.githubusercontent.com/u/1686118?v=3","gravatar_id":"","url":"https://api.github.com/users/tyl3r","html_url":"https://github.com/tyl3r","followers_url":"https://api.github.com/users/tyl3r/followers","following_url":"https://api.github.com/users/tyl3r/following{/other_user}","gists_url":"https://api.github.com/users/tyl3r/gists{/gist_id}","starred_url":"https://api.github.com/users/tyl3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyl3r/subscriptions","organizations_url":"https://api.github.com/users/tyl3r/orgs","repos_url":"https://api.github.com/users/tyl3r/repos","events_url":"https://api.github.com/users/tyl3r/events{/privacy}","received_events_url":"https://api.github.com/users/tyl3r/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lesterchan/wp-dbmanager/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T21:14:25Z","updated_at":"2015-02-27T07:36:26Z","closed_at":"2015-02-27T07:36:26Z","body":"If you want to reproduce the bug in your machine, this is my old password:\r\n\r\n!·%/QETU\r\n\r\nWith this the file output is 0 B in SQL or 20 B in GZIP."},"comment":{"url":"https://api.github.com/repos/lesterchan/wp-dbmanager/issues/comments/76350870","html_url":"https://github.com/lesterchan/wp-dbmanager/issues/11#issuecomment-76350870","issue_url":"https://api.github.com/repos/lesterchan/wp-dbmanager/issues/11","id":76350870,"user":{"login":"lesterchan","id":355829,"avatar_url":"https://avatars.githubusercontent.com/u/355829?v=3","gravatar_id":"","url":"https://api.github.com/users/lesterchan","html_url":"https://github.com/lesterchan","followers_url":"https://api.github.com/users/lesterchan/followers","following_url":"https://api.github.com/users/lesterchan/following{/other_user}","gists_url":"https://api.github.com/users/lesterchan/gists{/gist_id}","starred_url":"https://api.github.com/users/lesterchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesterchan/subscriptions","organizations_url":"https://api.github.com/users/lesterchan/orgs","repos_url":"https://api.github.com/users/lesterchan/repos","events_url":"https://api.github.com/users/lesterchan/events{/privacy}","received_events_url":"https://api.github.com/users/lesterchan/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T07:36:26Z","updated_at":"2015-02-27T07:36:26Z","body":"Unfortunately, I don't have a solution for this for the general because it involves setting locale (and may screw up other sites not using English) and it is the side effect of using escapeshellarg() for security purposes.\r\n\r\nI would suggest removing the · in your password or adding this line to database-backup.php\r\n```php\r\nsetlocale( LC_CTYPE, 'en_US.UTF-8' );\r\n```\r\nAfter line 40\r\n```php\r\n$gzip = intval($_POST['gzip']);\r\n```\r\n\r\nand to wp-dbmanager.php\r\n```php\r\nsetlocale( LC_CTYPE, 'en_US.UTF-8' );\r\n```\r\nAfter line 84\r\n```php\r\n$brace = (substr(PHP_OS, 0, 3) == 'WIN') ? '\"' : '';\r\n```\r\n\r\nAlternatively, you can try other plugin like https://wordpress.org/plugins/wp-db-backup/ that uses PHP to generate the backup instead of mysqldump."}}