I've set my game up to load a particular set of files from the assets.zip file.
These files only contain text, and have an unhandled file type, so they are opened with the default file opener.
Unfortunately, the results aren't what I expected. As well as the expected text, I'm getting a dozen or so extra characters at the end of the buffer. (for example, half a dozen 'y's with dashes above them).
Does anyone have any idea why this is? I havn't modified the reading process at all.
Or am i just trying to get the results from the wrong variable?
Thanks for any help. If you think me posting the expected output and the actual output would help, just say so. (I would now but I'm on a different PC)
These files only contain text, and have an unhandled file type, so they are opened with the default file opener.
Unfortunately, the results aren't what I expected. As well as the expected text, I'm getting a dozen or so extra characters at the end of the buffer. (for example, half a dozen 'y's with dashes above them).
Does anyone have any idea why this is? I havn't modified the reading process at all.
Or am i just trying to get the results from the wrong variable?
Thanks for any help. If you think me posting the expected output and the actual output would help, just say so. (I would now but I'm on a different PC)
The post was edited 1 time, last by Randomman159 ().