Does anybody know how to read from file a string with escape character like '\n' ?

Of course I don't want to read the caracter '\' followed by 'n' but keep the espace C character into the destination buffer.

Do I really need to write a parser that should translate '\n' and other escape sequences into hexa code ??

Thanks!!