Code ascii of \n

karine -  
 karine -
Hello everyone!

I would like to know the ASCII code for \n, I was told it is \015, is that correct?

Actually, my problem is that I am sending my own requests to a web server.
I'm on Linux and it works very well under Konqueror.

However, it doesn't work under Mozilla because it seems it doesn't recognize the \n.

Does anyone know how to solve this problem?

Thank you

6 answers

  1. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     
    ``` Tape man ascii

    You will get everything you want, including the line:

    Oct Dec Hex Char
    ----------------------------
    012 10 0A LF '\n'

    PS: I don't know why you need this code, but in practice in programming \n it's better. In C++, you can also use endl, which is even better. ```
    5