Prevent the '>>>' from deleting on Windows and protec the console against non-ASCII symbol