Fixing "Input is not proper UTF-8, indicate encoding" Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Quick way to fix the following error in Perl: | |
# | |
# :1: parser error : Input is not proper UTF-8, indicate encoding ! | |
# Bytes: 0xA0 0x20 0xA0 0x3C | |
# | |
# Use this command: | |
# | |
use Encode: | |
$string1 = decode("UTF-8", $input); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment