Work around a wcrtomb() bug on Solaris 10 and OSF/1 5.1.