{"action":"opened","issue":{"url":"https://api.github.com/repos/aerospike/aerospike-client-ruby/issues/33","repository_url":"https://api.github.com/repos/aerospike/aerospike-client-ruby","labels_url":"https://api.github.com/repos/aerospike/aerospike-client-ruby/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/aerospike/aerospike-client-ruby/issues/33/comments","events_url":"https://api.github.com/repos/aerospike/aerospike-client-ruby/issues/33/events","html_url":"https://github.com/aerospike/aerospike-client-ruby/issues/33","id":130903798,"number":33,"title":"when use japanese or chinese in bin value get  error: incompatible character encodings: ASCII-8BIT and UTF-8","user":{"login":"fs-wu","id":11746898,"avatar_url":"https://avatars.githubusercontent.com/u/11746898?v=3","gravatar_id":"","url":"https://api.github.com/users/fs-wu","html_url":"https://github.com/fs-wu","followers_url":"https://api.github.com/users/fs-wu/followers","following_url":"https://api.github.com/users/fs-wu/following{/other_user}","gists_url":"https://api.github.com/users/fs-wu/gists{/gist_id}","starred_url":"https://api.github.com/users/fs-wu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fs-wu/subscriptions","organizations_url":"https://api.github.com/users/fs-wu/orgs","repos_url":"https://api.github.com/users/fs-wu/repos","events_url":"https://api.github.com/users/fs-wu/events{/privacy}","received_events_url":"https://api.github.com/users/fs-wu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-03T03:57:24Z","updated_at":"2016-02-03T03:57:24Z","closed_at":null,"body":"When I set japanese in bin value, I got such kind error:\r\n\" incompatible character encodings: ASCII-8BIT and UTF-8\"\r\nHow can I avoid that?\r\n\r\nHere my easy code:\r\n```\r\n# -*- coding: utf-8 -*-\r\nrequire 'rubygems'\r\nrequire 'aerospike'\r\ninclude Aerospike\r\n\r\nclient = Client.new('127.0.0.1', 3000)\r\nkey = Key.new('test', 'test', 'key1')\r\nbin1 = Bin.new('bin1','あああ')\r\n\r\nclient.put(key,[bin1])\r\n\r\nclient.close\r\n```"}}