Fix message encoding when support high-ASC characters without encoding=cp850.
Fix bug 1228601, Garbage display when entering German/French characters in CLI console.