Added handling for non-ascii chars in console log

HaaS would crash when trying to read non-ascii characters from the log.  This patch removes the non-ascii characters.