Preview for utf-8 file. fix #121

Fix #121 
Log file preview to allow utf-8 string instead of ascii.