Question: I am creating a doc file and writing a text containing ^m in it and facing issue. Does this ^m is a special character for doc file ? If I replace ^m with some other characters (like ^m with >m or any other) then It works fine. I faced this issue with other characters too like ^a and few other. What could be the solution ?

Answer: 
^M -- as in: Control-M -- is often used to type a 'carriage return' character (ASCII-code 13 in decimal, 0D in hex).
It could be that it is evaluated as an logical expression. Try to escape it either prepending ' before it, or \ .