try decoding using UTF-8 first, default encoding next