PLINK-407: Allow the character encoding to be set on the IDP