ensure locale does not cause test to fail

this fixes rt#69241