more permissive charset decoding of log file