> An important note: what Notepad does here is only "acceptable". It's
> not even recommended. HTML 4 clearly doesn't allow a UTF-8 BOM appear
> before the HTML tag. Notepad is supposed to be a text editor. A text
> editor shouldn't insert markup by itself. BTW, ISIRI 6219 strongly
> discourages the use of a BOM in UTF-8 files.

The problem here is that web protocols (HTML for example) don't allow the
BOM, and Notepad is not an HTML editor, so there's nothing to prevent it
from adding the BOM.  Check out:

http://www.unicode.org/faq/utf_bom.html#28

-------------
Ehsan Akhgari

Farda Technology (http://www.farda-tech.com/)

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

'I generally take life as it comes my way', said Death.



_______________________________________________
PersianComputing mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/persiancomputing

Reply via email to