normalize whitepsace characters to \t \n and space