Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fixing "Input is not proper UTF-8, indicate encoding" Error
# 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
You can’t perform that action at this time.