{"action":"opened","issue":{"url":"https://api.github.com/repos/SAP/node-hdb/issues/67","repository_url":"https://api.github.com/repos/SAP/node-hdb","labels_url":"https://api.github.com/repos/SAP/node-hdb/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/SAP/node-hdb/issues/67/comments","events_url":"https://api.github.com/repos/SAP/node-hdb/issues/67/events","html_url":"https://github.com/SAP/node-hdb/issues/67","id":194960109,"number":67,"title":"Encoding problem?","user":{"login":"drleidig","id":44299,"avatar_url":"https://avatars.githubusercontent.com/u/44299?v=3","gravatar_id":"","url":"https://api.github.com/users/drleidig","html_url":"https://github.com/drleidig","followers_url":"https://api.github.com/users/drleidig/followers","following_url":"https://api.github.com/users/drleidig/following{/other_user}","gists_url":"https://api.github.com/users/drleidig/gists{/gist_id}","starred_url":"https://api.github.com/users/drleidig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drleidig/subscriptions","organizations_url":"https://api.github.com/users/drleidig/orgs","repos_url":"https://api.github.com/users/drleidig/repos","events_url":"https://api.github.com/users/drleidig/events{/privacy}","received_events_url":"https://api.github.com/users/drleidig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-12T12:15:03Z","updated_at":"2016-12-12T12:15:03Z","closed_at":null,"body":"I have the following statement:\r\n\r\nhttps://gist.githubusercontent.com/drleidig/47e5ad6cb28c581fdef73f953d68f783/raw/80bff2b5f54f6f1f94b9341b13dbc6a088824ff8/statement.sql\r\n\r\n(you have to download it to see the utf-8 characters)\r\n\r\nTesting the statement with node-hdb:\r\n\r\nhttps://gist.githubusercontent.com/drleidig/a95b36ee8b90f884b0fb4964d4bbc32c/raw/d33b8c4a1105cbbeabb7fe3f3305786acc1c11b2/encoding.js\r\n\r\nI get an SQL syntax error: incorrect syntax near ...\r\n\r\nWhen I test the statement from the SQL console within the HANA studio everything is fine.\r\nI assume something with the encoding is going wrong. \r\nSomewhere in the docs I found that HANA is using CESU-8 encoding, is similar to utf-8 but not the same. Maybe this could be the source of the error?\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"drleidig"}}