Quote:

why I can not paste codes directly from Notepad.exe




That is a strange one. Language / character set perhaps?