{"action":"opened","issue":{"url":"https://api.github.com/repos/toretore/barby/issues/41","labels_url":"https://api.github.com/repos/toretore/barby/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/toretore/barby/issues/41/comments","events_url":"https://api.github.com/repos/toretore/barby/issues/41/events","html_url":"https://github.com/toretore/barby/issues/41","id":55748547,"number":41,"title":"Switch type error","user":{"login":"lewispb","id":1773614,"avatar_url":"https://avatars.githubusercontent.com/u/1773614?v=3","gravatar_id":"","url":"https://api.github.com/users/lewispb","html_url":"https://github.com/lewispb","followers_url":"https://api.github.com/users/lewispb/followers","following_url":"https://api.github.com/users/lewispb/following{/other_user}","gists_url":"https://api.github.com/users/lewispb/gists{/gist_id}","starred_url":"https://api.github.com/users/lewispb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewispb/subscriptions","organizations_url":"https://api.github.com/users/lewispb/orgs","repos_url":"https://api.github.com/users/lewispb/repos","events_url":"https://api.github.com/users/lewispb/events{/privacy}","received_events_url":"https://api.github.com/users/lewispb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-28T12:07:25Z","updated_at":"2015-01-28T12:07:25Z","closed_at":null,"body":"Hi, I'm trying to switch type from B to C when creating a barcode. I've tried you're example code but get an error:\r\n\r\nBarby::Code128A.new(\"ABC123\\306def\\3074567\")\r\n\r\nArgumentError:\r\n       invalid byte sequence in UTF-8\r\n\r\nCould you please advise?\r\n\r\nThanks"}}