in reply to Double Decoding Issue

Character decoding is the process of taking bytes and returning the characters they represent. That error indicates you asked the function to decode something that wasn't bytes.
>perl -MEncode -we"decode('UTF-8', qq{\x{123}})" Cannot decode string with wide characters at ...

Why your input isn't what you think it is, I don't know. You did not provide any information that would help answer that question.