enhanced to let regression tests pass on non Win1252 systems