{"action":"closed","issue":{"url":"https://api.github.com/repos/e107inc/e107/issues/458","labels_url":"https://api.github.com/repos/e107inc/e107/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/e107inc/e107/issues/458/comments","events_url":"https://api.github.com/repos/e107inc/e107/issues/458/events","html_url":"https://github.com/e107inc/e107/issues/458","id":23332537,"number":458,"title":"Always need to set UTF-8 before posting, updating etc to db?","user":{"login":"djbeater","id":3932546,"avatar_url":"https://avatars.githubusercontent.com/u/3932546?v=3","gravatar_id":"","url":"https://api.github.com/users/djbeater","html_url":"https://github.com/djbeater","followers_url":"https://api.github.com/users/djbeater/followers","following_url":"https://api.github.com/users/djbeater/following{/other_user}","gists_url":"https://api.github.com/users/djbeater/gists{/gist_id}","starred_url":"https://api.github.com/users/djbeater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djbeater/subscriptions","organizations_url":"https://api.github.com/users/djbeater/orgs","repos_url":"https://api.github.com/users/djbeater/repos","events_url":"https://api.github.com/users/djbeater/events{/privacy}","received_events_url":"https://api.github.com/users/djbeater/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/e107inc/e107/labels/awaiting%20feedback","name":"awaiting feedback","color":"d4c5f9"},{"url":"https://api.github.com/repos/e107inc/e107/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/e107inc/e107/milestones/3","labels_url":"https://api.github.com/repos/e107inc/e107/milestones/3/labels","id":229142,"number":3,"title":"v2.0 beta 2","description":"Second beta release. Features and functionality are stabilizing, focus on bugfixing only. ","creator":{"login":"SecretR","id":2827783,"avatar_url":"https://avatars.githubusercontent.com/u/2827783?v=3","gravatar_id":"","url":"https://api.github.com/users/SecretR","html_url":"https://github.com/SecretR","followers_url":"https://api.github.com/users/SecretR/followers","following_url":"https://api.github.com/users/SecretR/following{/other_user}","gists_url":"https://api.github.com/users/SecretR/gists{/gist_id}","starred_url":"https://api.github.com/users/SecretR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SecretR/subscriptions","organizations_url":"https://api.github.com/users/SecretR/orgs","repos_url":"https://api.github.com/users/SecretR/repos","events_url":"https://api.github.com/users/SecretR/events{/privacy}","received_events_url":"https://api.github.com/users/SecretR/received_events","type":"User","site_admin":false},"open_issues":132,"closed_issues":2,"state":"open","created_at":"2012-12-13T09:20:11Z","updated_at":"2015-02-05T20:38:20Z","due_on":"2015-04-30T07:00:00Z","closed_at":null},"comments":7,"created_at":"2013-11-26T17:50:25Z","updated_at":"2015-02-05T20:38:20Z","closed_at":"2015-02-05T20:38:20Z","body":"#### My problem is with UTF-8 encoding\r\n\r\nif i call db with \r\n\r\n```php\r\n$sql = e107::getDb();\r\n```\r\nand insert some data in db my utf-8 characters not posting correctly.\r\n\r\nI need alway use this code:\r\n```php\r\n$sql = e107::getDb();\r\n$sql->db_Set_Charset(\"utf8\");\r\n```\r\nIf now i post some data all goes OK.\r\n\r\n#### Why not set in core default value utf8?"}}