allow smp question and answer to contain non-ascii
fix decoding errors in error messages from potr