idp: fix UnicodeDecodeError for attributes
idp: fix UnicodeDecodeError for attributes

Fixes #3471

pu239ppy/authentic2,adieu/authentic2,BryceLohr/authentic,adieu/authentic2,pu239ppy/authentic2,BryceLohr/authentic,BryceLohr/authentic,adieu/authentic2,pu239ppy/authentic2,BryceLohr/authentic,adieu/authentic2,pu239ppy/authentic2