Fixing encoding issue

The weird characters in the output window are caused by incorrect encoding. This fixes it