Ascii mode transfers

Posted on 2005-04-12
Last Modified: 2010-04-20
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?
Question by:TuscolaCounty
    LVL 51

    Expert Comment

    depends on your editor
    in vi you do

    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

    Author Comment

    I do not quite understand what you are saying here ahoffmann
    LVL 51

    Expert Comment

    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

    Author Comment

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

    Accepted Solution

    > .. cannot see them when editing in my windows app ..
    stupid app ;-)

    as long as these are only html pages and not any programs affected (in particular CGI-BIN files), there should not be a difference
    the additional useless byte per line also should not cause big problems

    Author Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Article by: kevp75
    Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now