Descriptive Problem Summary:
When using file2text() and pretty much any method of turning a file into a usable string to do things like sending text to a browser, if the file has a UTF-8 BOM encoding, it will be interpreted as a raw text file regardless of context. This means it'll show raw HTML in a browser, for example.
Workarounds:
Don't use BOM encoding, it wasn't intentional in the first place so I'm not too worried about an engine-side fix being a priority (stripping the first line of bytes would turn BOM into not-BOM, which shouldn't break anything unless the file has a metric ton of objects in play)
ID:2956750
![]() Dec 19 2024, 11:32 pm
|
|||||||||||||
Resolved
| |||||||||||||
![]() Jan 2, 1:29 pm
|
|
Lummox JR resolved issue with message:
|