Last active
January 17, 2016 15:58
-
-
Save yakovsh/935359268ef9e2269f7e to your computer and use it in GitHub Desktop.
Fixing "Input is not proper UTF-8, indicate encoding" Error
This file contains hidden or 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