Notepad puts a UTF-8 encoded BOM at the start of a file.
Closed / Fixed800114ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 14 years ago
Descriptionplain2003-09-03 23:30:18
I tried to save a .msg file in utf-8 with notepad. Notepad put a  at the begin of my file and because of this I was not able to read the .msg file in tcl. I had someone trying it out and he got the same result. this was the case even with an empty .msg file. I'm Using WinXP Professional. deleting the space and saving the file with another editor solved the problem.
hobbsplain2007-02-09 08:17:14
Logged In: YES user_id=72656 Originator: NO Tcl does not auto-handle BOMs because actual stream-handling is left to the user. That said, Donal was considering having more helper stuff in Tcl for this. Passing to him.
dkfplain2007-08-19 17:27:15
data_type - 360894
dkfplain2012-08-27 18:23:54
Is this reading with [source]? If so, Jan fixed that a few months ago. If not, I think this is something we don't plan to fix (the reading script should detect the BOM itself; too many scenarios require the ability to do that).
nijtmansplain2012-08-27 18:51:43
Patrly dup of #3466099 (Yes, should be fixed in 8.5.12, if the encoding is explicitly set to UTF-8. msgcat does this). Branch bug-3466099 contains some attempts to really fix this, but it's not functional yet.
Log in (anonymous is fine) to add a comment.