TuscolaCounty
asked on
Ascii mode transfers
My web server is a debian linux machine, and I edit web pages on a windows machine.
When I upload, i get the ^m thing at the end of everyline when viewed with a linux text editor.
I know that uploading with ascii mode will stop this and do the conversion for me. But I use webdrive and edit my page right on the server. It doesn't seem to want to allow ascii mode when doing it this way. But i do not want to go back to the old fashioned, edit on you local machine, then upload, thing.
Can anyone tell me, do the ^M characters at the end of each line, only visible in a linux text editor, really matter at all as far as search engines are concerned? Or are there any other problems this may cause?
When I upload, i get the ^m thing at the end of everyline when viewed with a linux text editor.
I know that uploading with ascii mode will stop this and do the conversion for me. But I use webdrive and edit my page right on the server. It doesn't seem to want to allow ascii mode when doing it this way. But i do not want to go back to the old fashioned, edit on you local machine, then upload, thing.
Can anyone tell me, do the ^M characters at the end of each line, only visible in a linux text editor, really matter at all as far as search engines are concerned? Or are there any other problems this may cause?
ASKER
I do not quite understand what you are saying here ahoffmann
I gave an answer to:
> Can anyone tell me, do the ^M characters at the end of each line, only visible in a linux text editor
> Can anyone tell me, do the ^M characters at the end of each line, only visible in a linux text editor
ASKER
I am not trying to view the characters in another (windows based) text editor.
I was just wondering if they make any impact at all as far as search engine spiders go.
Since I cannot see them when editing in my windows app, I do not know when they are being added. They don't affect the performance of the site at all, so I didn't think they would impact any other aspect of the site.
I was just wondering if they make any impact at all as far as search engine spiders go.
Since I cannot see them when editing in my windows app, I do not know when they are being added. They don't affect the performance of the site at all, so I didn't think they would impact any other aspect of the site.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It's not the windows app fault. No windows based app I have come across will show these.
But ok, it's been a while since i posted this and no problems have come of it, so i will close the question. Thanks for the answers.
But ok, it's been a while since i posted this and no problems have come of it, so i will close the question. Thanks for the answers.
in vi you do
:g/^M$/s///g
where ^M is ctrl-V followed by return
or you have some tools to do that, like dos2unix, or you can use tr like:
tr -d '\013' <infile>outfile