[BUGFIX] Make encoding of parameters for cHash independent of PHP settings