Re: why I always see <feff> after ftp



,--- 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
.



Relevant Pages

  • Re: why I always see after ftp
    ... | 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 ... Your windows editor is adding ...
    (comp.os.linux.networking)
  • why I always see after ftp
    ... 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 at the beginning of the ...
    (comp.os.linux.networking)
  • Re: Slow network transfer within LAN
    ... well I have always noticed with Windows that when you ... When I use to run an FTP server on ... Slow network performance occurs if you copy files to a domain controller ... Instead of the website you're using, I suggest to use OEx (Outlook Express ...
    (microsoft.public.windows.server.networking)
  • Re: windows 2000 unwanted data transfer
    ... and unneeded services running such as WWW or FTP that your ... computer is being used as a FTP server or such. ... >A windows 2000 professional pc is used to access internet on a PPPOE ... The charges are based on the volume of data transfer. ...
    (microsoft.public.win2000.security)
  • Re: windows 2000 professional hacked with Serv-U FTP Server
    ... > FTP server and was uploading movies files to this box. ... > How did hacked get into the machine and installed Serv-U ftp server? ... consider formatting and reinstalling Windows and all other software ... documents to remove the vulnerabilities in the default install of Windows. ...
    (microsoft.public.win2000.security)