{"action":"created","issue":{"url":"https://api.github.com/repos/leafo/lapis/issues/492","repository_url":"https://api.github.com/repos/leafo/lapis","labels_url":"https://api.github.com/repos/leafo/lapis/issues/492/labels{/name}","comments_url":"https://api.github.com/repos/leafo/lapis/issues/492/comments","events_url":"https://api.github.com/repos/leafo/lapis/issues/492/events","html_url":"https://github.com/leafo/lapis/issues/492","id":188962373,"number":492,"title":"Printing non-english characters in a view","user":{"login":"anshzinc","id":5483556,"avatar_url":"https://avatars.githubusercontent.com/u/5483556?v=3","gravatar_id":"","url":"https://api.github.com/users/anshzinc","html_url":"https://github.com/anshzinc","followers_url":"https://api.github.com/users/anshzinc/followers","following_url":"https://api.github.com/users/anshzinc/following{/other_user}","gists_url":"https://api.github.com/users/anshzinc/gists{/gist_id}","starred_url":"https://api.github.com/users/anshzinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anshzinc/subscriptions","organizations_url":"https://api.github.com/users/anshzinc/orgs","repos_url":"https://api.github.com/users/anshzinc/repos","events_url":"https://api.github.com/users/anshzinc/events{/privacy}","received_events_url":"https://api.github.com/users/anshzinc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-13T10:06:22Z","updated_at":"2016-11-16T17:07:33Z","closed_at":null,"body":"Hi, I'm doing an API call on a service, and getting some texts. I need to display that result in a view.\r\n\r\nbut the response contains non-english characters and they do not apprar correctly by doing just a \r\n\r\n`<%= result %>`\r\n\r\nwhat would be the easiest way to resolve this?\r\n\r\nedit: was a issue with the charset. :) \r\n\r\nedit2: issue is not solved.\r\n\r\nI have a string that looks like this:\r\n\r\n\"\\u0915\\u094d\\u092f\\u093e \\u0926\\u0947\\u0936 \\u092e\\u0947\\u0902 \\u0910\\u0938\\u0947 \\u0939\\u093e\\u0932\\u093e\\u0924\\u094b\\u0902 \\u0915\\u0947 \\u092c\\u0940\\u091a \\u0915\\u093f\\u0938\\u0940 \\u0936\\u093e\\u0926\\u0940 \\u092e\\u0947\\u0902 \\u0907\\u0924\\u0928\\u093e \\u0916\\u0930\\u094d\\u091a \\u0920\\u0940\\u0915 \\u0939\\u0948?\"\r\n\r\nI need to pass this to a view, but right now it does not render. How can this be done?"},"comment":{"url":"https://api.github.com/repos/leafo/lapis/issues/comments/261006989","html_url":"https://github.com/leafo/lapis/issues/492#issuecomment-261006989","issue_url":"https://api.github.com/repos/leafo/lapis/issues/492","id":261006989,"user":{"login":"leafo","id":15198,"avatar_url":"https://avatars.githubusercontent.com/u/15198?v=3","gravatar_id":"","url":"https://api.github.com/users/leafo","html_url":"https://github.com/leafo","followers_url":"https://api.github.com/users/leafo/followers","following_url":"https://api.github.com/users/leafo/following{/other_user}","gists_url":"https://api.github.com/users/leafo/gists{/gist_id}","starred_url":"https://api.github.com/users/leafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafo/subscriptions","organizations_url":"https://api.github.com/users/leafo/orgs","repos_url":"https://api.github.com/users/leafo/repos","events_url":"https://api.github.com/users/leafo/events{/privacy}","received_events_url":"https://api.github.com/users/leafo/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T17:07:33Z","updated_at":"2016-11-16T17:07:33Z","body":"is `from_json` extracting the characters correctly? It shouldn't output escape sequences, but the actual binary string. You should be able to load and print the json object on the command line."}}
{"actor":{"display_login":"leafo"}}