UnicodeDecode fix for HIF core