{"action":"created","issue":{"url":"https://api.github.com/repos/Koka/odbc-rs/issues/52","repository_url":"https://api.github.com/repos/Koka/odbc-rs","labels_url":"https://api.github.com/repos/Koka/odbc-rs/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/Koka/odbc-rs/issues/52/comments","events_url":"https://api.github.com/repos/Koka/odbc-rs/issues/52/events","html_url":"https://github.com/Koka/odbc-rs/issues/52","id":247982467,"number":52,"title":"Utf8 issue","user":{"login":"yvz5","id":439370,"avatar_url":"https://avatars2.githubusercontent.com/u/439370?v=4","gravatar_id":"","url":"https://api.github.com/users/yvz5","html_url":"https://github.com/yvz5","followers_url":"https://api.github.com/users/yvz5/followers","following_url":"https://api.github.com/users/yvz5/following{/other_user}","gists_url":"https://api.github.com/users/yvz5/gists{/gist_id}","starred_url":"https://api.github.com/users/yvz5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvz5/subscriptions","organizations_url":"https://api.github.com/users/yvz5/orgs","repos_url":"https://api.github.com/users/yvz5/repos","events_url":"https://api.github.com/users/yvz5/events{/privacy}","received_events_url":"https://api.github.com/users/yvz5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-04T11:43:49Z","updated_at":"2017-08-06T00:44:14Z","closed_at":null,"body":"`thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Utf8Error { valid_up_to: 1, error_len: Some(1) }', src\\libcore\\result.rs:860`\r\n\r\nThe database has german characters in it \"üÜäÄöÖ\".\r\n\r\nthis is how I try to get the data:\r\n`cursor.get_data::<String>(3)`\r\n\r\nis this a bug or should I use some other data type ? "},"comment":{"url":"https://api.github.com/repos/Koka/odbc-rs/issues/comments/320478575","html_url":"https://github.com/Koka/odbc-rs/issues/52#issuecomment-320478575","issue_url":"https://api.github.com/repos/Koka/odbc-rs/issues/52","id":320478575,"user":{"login":"pacman82","id":12252881,"avatar_url":"https://avatars3.githubusercontent.com/u/12252881?v=4","gravatar_id":"","url":"https://api.github.com/users/pacman82","html_url":"https://github.com/pacman82","followers_url":"https://api.github.com/users/pacman82/followers","following_url":"https://api.github.com/users/pacman82/following{/other_user}","gists_url":"https://api.github.com/users/pacman82/gists{/gist_id}","starred_url":"https://api.github.com/users/pacman82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pacman82/subscriptions","organizations_url":"https://api.github.com/users/pacman82/orgs","repos_url":"https://api.github.com/users/pacman82/repos","events_url":"https://api.github.com/users/pacman82/events{/privacy}","received_events_url":"https://api.github.com/users/pacman82/received_events","type":"User","site_admin":false},"created_at":"2017-08-06T00:44:14Z","updated_at":"2017-08-06T00:44:14Z","body":"`String` is a UTF8 encoded string. The data returned does not seem to be UTF8 encoded. If we had support for `Vec<u8>` right now, I would suggest using that and do the encoding yourself. We could also think about retrieving `String` as wide characters."}}
{"actor":{"display_login":"pacman82"}}