[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Small cleanup for utilities/dbootstrap/release_notes.c



Petter Reinholdtsen <pere@hungry.com> cum veritate scripsit:

> > BTW: The test code is unable to test other languages.  Should this be
> > fixed?
> 
> If it should be fixed, here is a patch to fix it.
> 
> release_notes_test seem to be broken for all non-english texts.  I've
> tested de and da.  The width calculation fails.

Of course, there is no setlocale call.
adding 

	setlocale (LC_ALL, "");
or
	setlocale (LC_CTYPE, "");

somewhere at the start of the testing will hopefully "fix" 
the bug you are seeing.

If it doesn't work, you've found a real bug.

regards,
	junichi

-- 
dancer@debian.org : Junichi Uekawa   http://www.netfort.gr.jp/~dancer
GPG Fingerprint : 17D6 120E 4455 1832 9423  7447 3059 BF92 CD37 56F4



Reply to: