Fix pretty printer for weird locales