in reply to
Re: UTF-8 text files with Byte Order Mark
in thread UTF-8 text files with Byte Order Mark
Patient: "Doctor, it hurts when I do this."
Doctor: "So don't do it!"
Easy to say, of course, but what if the program one of my users uses stores that BOM anyway? Besides, as pointed out, a BOM in a utf-8 file *are* valid so I feel I should support it. Look, if the user was toying around with malformed files I'd be more than happy to tell him to get that fixed :D but apparently he's doing what he righteously thinks is righs.