fix run commands to force utf8 encoding