Re: why I always see <feff> after ftp
- From: wahjava@xxxxxxxxx (Ashish Shukla आशीष शुक्ल)
- Date: Mon, 29 Oct 2007 12:53:13 +0530
,--- 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
.
- Follow-Ups:
- Re: why I always see <feff> after ftp
- From: a10 . part
- Re: why I always see <feff> after ftp
- References:
- why I always see <feff> after ftp
- From: a10 . part
- why I always see <feff> after ftp
- Prev by Date: {commercial} SafeSquid 4.2.1 Released
- Next by Date: Re: Client-server application under linux - desperate help
- Previous by thread: why I always see <feff> after ftp
- Next by thread: Re: why I always see <feff> after ftp
- Index(es):
Relevant Pages
|