{"action":"created","issue":{"url":"https://api.github.com/repos/openlink/virtuoso-opensource/issues/576","repository_url":"https://api.github.com/repos/openlink/virtuoso-opensource","labels_url":"https://api.github.com/repos/openlink/virtuoso-opensource/issues/576/labels{/name}","comments_url":"https://api.github.com/repos/openlink/virtuoso-opensource/issues/576/comments","events_url":"https://api.github.com/repos/openlink/virtuoso-opensource/issues/576/events","html_url":"https://github.com/openlink/virtuoso-opensource/issues/576","id":172629987,"number":576,"title":"encode_base64 - Strange behavior","user":{"login":"dans-er","id":5907387,"avatar_url":"https://avatars.githubusercontent.com/u/5907387?v=3","gravatar_id":"","url":"https://api.github.com/users/dans-er","html_url":"https://github.com/dans-er","followers_url":"https://api.github.com/users/dans-er/followers","following_url":"https://api.github.com/users/dans-er/following{/other_user}","gists_url":"https://api.github.com/users/dans-er/gists{/gist_id}","starred_url":"https://api.github.com/users/dans-er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dans-er/subscriptions","organizations_url":"https://api.github.com/users/dans-er/orgs","repos_url":"https://api.github.com/users/dans-er/repos","events_url":"https://api.github.com/users/dans-er/events{/privacy}","received_events_url":"https://api.github.com/users/dans-er/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-23T07:28:19Z","updated_at":"2016-08-27T22:37:06Z","closed_at":null,"body":"It seems the function `encode_base64 ( in str varchar );` gives strange results. Example:\r\n```\r\nSQL> select encode_base64('http://www.telegraphis.net/ontology/geography/geography#');\r\nencode_base64\r\nVARCHAR\r\n_______________________________________________________________________________\r\n\r\naHR0cDovL3d3dy50ZWxlZ3JhcGhpcy5uZXQvb250b2xvZ3kvZ2VvZ3JhcGh5L2dlb2dyYXBo\r\neSM=\r\n\r\n1 Rows. -- 4 msec.\r\n```\r\nThe new line is inclusive. On Unix I get:\r\n```\r\naHR0cDovL3d3dy50ZWxlZ3JhcGhpcy5uZXQvb250b2xvZ3kvZ2VvZ3JhcGh5L2dlb2dyYXBoeSMK\r\n```\r\nwhich seems more appropriate.\r\n\r\nMy version of Virtuoso:\r\nVersion 07.10.3211-pthreads for Linux as of Apr  3 2015\r\n"},"comment":{"url":"https://api.github.com/repos/openlink/virtuoso-opensource/issues/comments/242944701","html_url":"https://github.com/openlink/virtuoso-opensource/issues/576#issuecomment-242944701","issue_url":"https://api.github.com/repos/openlink/virtuoso-opensource/issues/576","id":242944701,"user":{"login":"HughWilliams","id":4868081,"avatar_url":"https://avatars.githubusercontent.com/u/4868081?v=3","gravatar_id":"","url":"https://api.github.com/users/HughWilliams","html_url":"https://github.com/HughWilliams","followers_url":"https://api.github.com/users/HughWilliams/followers","following_url":"https://api.github.com/users/HughWilliams/following{/other_user}","gists_url":"https://api.github.com/users/HughWilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/HughWilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HughWilliams/subscriptions","organizations_url":"https://api.github.com/users/HughWilliams/orgs","repos_url":"https://api.github.com/users/HughWilliams/repos","events_url":"https://api.github.com/users/HughWilliams/events{/privacy}","received_events_url":"https://api.github.com/users/HughWilliams/received_events","type":"User","site_admin":false},"created_at":"2016-08-27T22:37:06Z","updated_at":"2016-08-27T22:37:06Z","body":"OK, we shall look into this ..."}}
{"actor":{"display_login":"HughWilliams"}}