Fixed wrapper on non-ascii locales.