[PLINK-407] Allow the character encoding to be set on the IDP
PLINK-407
Merge branch 'dehort-PLINK-407'