From: Tatsuro M. <tma...@ya...> - 2011-01-25 02:48:20
|
Hello Allin --- Allin Cottrell wrote: > I'm not sure I'd call this a "fix". Wikipedia says of the BOM in > UTF-8: > > "While Unicode standard allows BOM in UTF-8, it does not require > or recommend it. Byte order has no meaning in UTF-8 so a BOM only > serves to identify a text stream or file as UTF-8 or that it was > converted from another format that has a BOM." > > Some MS Windows applications add these redundant bytes to UTF-8 > files but "proper" UTF-8 gets by fine without them. Thanks for explanation. All text editors I have used in MS-windows seem to add byte when files are used in utf-8 with the BOM format. Script files with saved the BOM have not ever be able to use. Even if this phenomenon is specific to the MS-windows, this fact is to be better to mention in somewhere. I think it is better to mention it in gnuplot.doc (i.e. manual and help) . Another candidate is FAQ, I think. My preference is the gnuplot.doc but I'm not against that this issue is described in the FAQ or some other places. What is important is that users easy get to know that scripts written in the utf-8 with the BOM format cannot be used gnuplot on windows. Regards Tatsuro -------------------------------------- Get the new Internet Explorer 8 optimized for Yahoo! JAPAN http://pr.mail.yahoo.co.jp/ie8/ |