This is a discussion on why I always see <feff> after ftp within the Linux Networking forums, part of the Linux Forums category; Hi, Gurus: I edited html doc on Windows and then upload to my linux server using ftp, the ftp server ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi, Gurus: I edited html doc on Windows and then upload to my linux server using ftp, the ftp server application is vsftpd, after that, if I use vi -b to open the html file, I always see <feff> at the beginning of the file, anyway for me to prevent this? thanks in advance. /zhenwu |
|
|||
|
,--- a10 part writes:
| Hi, Gurus: | I edited html doc on Windows and then upload to my linux server using | ftp, the ftp server application is vsftpd, after that, if I use vi -b | to open the html file, I always see <feff> at the beginning of the | file, anyway for me to prevent this? thanks in advance. <feff> is the BOM (byte-order marker). Your windows editor is adding that. For more details on BOM, check out: http://unicode.org/faq/utf_bom.html#22 | /zhenwu HTH - -- Ashish Shukla "Wah Java !!" आशीष शुक्ल weblog: http://wahjava.wordpress.com/ ,= ,-_-. =. | DRMs are often designed by ambitious, well-funded consortia, | ((_/)o o(\_)) | with top-notch engineers from every corner of the industry. | `-'(. .)`-' | They spend millions. They take years. They are defeated in | \_/ | days, for pennies, by hobbyists. - Cory Doctorow | The best optimizer is between your ears. - Michael Abrash |
|
|||
|
Thanks, I already figured out. thanks again. /zhenwu On Oct 28, 11:23 pm, wahj...@gmail.com (Ashish Shukla ) wrote: > ,--- a10 part writes: > > | Hi, Gurus: > > | I edited html doc on Windows and then upload to my linux server using > | ftp, the ftp server application is vsftpd, after that, if I use vi -b > | to open the html file, I always see <feff> at the beginning of the > | file, anyway for me to prevent this? thanks in advance. > > <feff> is the BOM (byte-order marker). Your windows editor is adding > that. For more details on BOM, check out: > > http://unicode.org/faq/utf_bom.html#22 > > | /zhenwu > > HTH > - -- > Ashish Shukla "Wah Java !!" > > > weblog:http://wahjava.wordpress.com/ > > ,= ,-_-. =. | DRMs are often designed by ambitious, well-funded consortia, | > ((_/)o o(\_)) | with top-notch engineers from every corner of the industry. | > `-'(. .)`-' | They spend millions. They take years. They are defeated in | > \_/ | days, for pennies, by hobbyists. - Cory Doctorow | > > The best optimizer is between your ears. > - Michael Abrash |