Update input.php

With PHP5.4 the default value is changed to utf8 so we need to define here the old default value to make sure that we have it working as before