Hi!
I usually use Notepad ++ but I never had some errors in PHP when I convert some PHP files from ANSI encoding to UTF-8 whose origin was the insertion of some characters (ï »¿) at the start of files, invisible in Notepad++. Is it a bug? How do I solve it for next time?
Thanks very much
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Perhaps you are talking about BOM. Some UTF-8 files store 0xEF, 0xBB, 0xBF as first three bytes, to indicate the content encoding is UTF-8, while others don't.
Try "convert to UTF-8 without BOM". I wish it helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
I usually use Notepad ++ but I never had some errors in PHP when I convert some PHP files from ANSI encoding to UTF-8 whose origin was the insertion of some characters (ï »¿) at the start of files, invisible in Notepad++. Is it a bug? How do I solve it for next time?
Thanks very much
Perhaps you are talking about BOM. Some UTF-8 files store 0xEF, 0xBB, 0xBF as first three bytes, to indicate the content encoding is UTF-8, while others don't.
Try "convert to UTF-8 without BOM". I wish it helps.