default encodings correctly inside prehooks
6.3.2