why I always see <feff> after ftp

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


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-29-2007
a10.part@gmail.com
 
Posts: n/a
Default why I always see <feff> after ftp


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

Reply With Quote
  #2 (permalink)  
Old 10-29-2007
Ashish Shukla आशीष शुक्ल
 
Posts: n/a
Default 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
Reply With Quote
  #3 (permalink)  
Old 10-30-2007
a10.part@gmail.com
 
Posts: n/a
Default Re: why I always see <feff> after ftp


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



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:43 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0