Woes on UTF-8 plain text transfers

Some things that didn’t quite seem to work right in Chrome and Firefox. It seems that when reading text files from some servers, the reply for text files are UTF-8 instead of plain ASCII text. However, Safari seems to be able to understand that the UTF-8 BOM was not to be parsed as part of the data, but Chrome and Firefox doesn’t seem to know that.

This throws weird problems that would seem to be browser issues. This can be solved by stripping the plain text file of the UTF-8 BOM by removing the \xef\xbb\xbf pre-appended text.

Things should work across all browsers after that.