On Fri, May 28, 2004 at 01:04:57AM -0400, srintuar wrote:
> >Did you forget to call setlocale()?  If not, the data probably isn't 
> >loaded.
> >(Tip: always include your test program.)
> 
> Yeah, that was it.
> Embarrasingly obvious in hindsight I guess :)

Well, it's reasonable to forget: on modern systems, wchar_t doesn't
change across locales, widths don't change much, and wcwidth(3) doesn't
mention setlocale() at all on my system.  I would have tried it first
without, myself, except that I knew it was needed for "%lc".

-- 
Glenn Maynard

--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to