{"action":"created","issue":{"url":"https://api.github.com/repos/dan200/ComputerCraft/issues/67","labels_url":"https://api.github.com/repos/dan200/ComputerCraft/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/dan200/ComputerCraft/issues/67/comments","events_url":"https://api.github.com/repos/dan200/ComputerCraft/issues/67/events","html_url":"https://github.com/dan200/ComputerCraft/issues/67","id":122935826,"number":67,"title":"[1.76pr6] String Bugs","user":{"login":"BombBloke","id":12162603,"avatar_url":"https://avatars.githubusercontent.com/u/12162603?v=3","gravatar_id":"","url":"https://api.github.com/users/BombBloke","html_url":"https://github.com/BombBloke","followers_url":"https://api.github.com/users/BombBloke/followers","following_url":"https://api.github.com/users/BombBloke/following{/other_user}","gists_url":"https://api.github.com/users/BombBloke/gists{/gist_id}","starred_url":"https://api.github.com/users/BombBloke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BombBloke/subscriptions","organizations_url":"https://api.github.com/users/BombBloke/orgs","repos_url":"https://api.github.com/users/BombBloke/repos","events_url":"https://api.github.com/users/BombBloke/events{/privacy}","received_events_url":"https://api.github.com/users/BombBloke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-12-18T11:51:49Z","updated_at":"2015-12-19T15:38:23Z","closed_at":null,"body":"Not sure whether these count as \"bugs\", or even if it's practical/appropriate to \"fix\" them, but hey - let's recap.\r\n\r\nAt the moment:\r\n\r\n* All strings seem to send/receive correctly via modems (whereas they didn't used to; not sure when that got fixed, but hurray for that :+1:  ).\r\n* Strings also seem fine when passed through commands API functions; all characters can be passed in and (where relevant) read back in some form. :+1: \r\n* Strings saved via textmode file handles may have characters within certain ranges converted to ? (0x3F). :-1: \r\n* Strings affected by the above also can't be sent/received via the http API. :-1: \r\n\r\nAssuming this won't be fixed/changed/whatever such that \"all strings can be sent anywhere\", I suggest a couple of workarounds:\r\n\r\ntextutils.serialise could be rigged to convert eg \"ÿ\" to \"\\\"\\\\255\\\"\". textutils.unserialise is already capable of reverting this. (Edit: This is probably obvious to you, but leading zeros are important for numbers less than 100!)\r\n\r\ntextutils.urlEncode could be rigged to convert eg \"ÿ\" to \"%FF\"."},"comment":{"url":"https://api.github.com/repos/dan200/ComputerCraft/issues/comments/165997286","html_url":"https://github.com/dan200/ComputerCraft/issues/67#issuecomment-165997286","issue_url":"https://api.github.com/repos/dan200/ComputerCraft/issues/67","id":165997286,"user":{"login":"BombBloke","id":12162603,"avatar_url":"https://avatars.githubusercontent.com/u/12162603?v=3","gravatar_id":"","url":"https://api.github.com/users/BombBloke","html_url":"https://github.com/BombBloke","followers_url":"https://api.github.com/users/BombBloke/followers","following_url":"https://api.github.com/users/BombBloke/following{/other_user}","gists_url":"https://api.github.com/users/BombBloke/gists{/gist_id}","starred_url":"https://api.github.com/users/BombBloke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BombBloke/subscriptions","organizations_url":"https://api.github.com/users/BombBloke/orgs","repos_url":"https://api.github.com/users/BombBloke/repos","events_url":"https://api.github.com/users/BombBloke/events{/privacy}","received_events_url":"https://api.github.com/users/BombBloke/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T15:38:23Z","updated_at":"2015-12-19T15:38:23Z","body":"Indeed, most (likely all) of the \"errors\" in your results have to do with me having no idea ComputerCraft was *supposed* to be performing certain textmode conversions, so they mean exactly what you thought my results meant: everything's probably ok, for you.\r\n\r\nThank Wojbie, more results from other users should be useful. Your results are similar to mine, but yeah, there are some obvious differences in there.\r\n\r\nWindows 8.1 x64\r\nForge 1.8, 11.14.4.1577\r\nJava x64, 1.8.0_66 (just now updated from _40, same results).\r\n\r\nI'm afraid it's 2:30am here at present, so I may have to leave off for the night. Thanks for looking into it."}}