Re: Testing POSIX locale support

2002-08-27 Thread H.Merijn Brand
On Mon 26 Aug 2002 22:14, Nicholas Clark <[EMAIL PROTECTED]> wrote: > On Mon, Aug 26, 2002 at 04:05:26PM -0400, John Peacock wrote: > > I have a module, Math::Currency, which tries to be very smart with regard > > to POSIX locale settings when defining the default currency formatting. > > Howev

Re: Testing POSIX locale support

2002-08-26 Thread John Peacock
Nicholas Clark wrote: > > So you may wish to install fa_IR and test with that. > Ick! Another one! AFAICT, Perl's locale does not recognize UTF multibyte characters, as I discovered with ja_JP.UTF-8 (which has a UTF representation for Yen if I am not very much mistaken). I think I am going

Re: Testing POSIX locale support

2002-08-26 Thread John Peacock
Michael G Schwern wrote: > What you should probably do is emit further diagnostic information on what > the test failure might mean like: > > is($this, $that) || diag(< Please check that your $locale_i_was_testing_with locale is fully > installed and try again. Otherwise, contact the auth

Re: Testing POSIX locale support

2002-08-26 Thread Michael G Schwern
On Mon, Aug 26, 2002 at 04:05:26PM -0400, John Peacock wrote: > Specifically, in order to test that the locale stuff is working, I need to > have two different locales installed to switch between. Currently, I am > using en_US and en_GB, but obviously that ignores most of the planet. > > I was

Re: Testing POSIX locale support

2002-08-26 Thread Nicholas Clark
On Mon, Aug 26, 2002 at 04:05:26PM -0400, John Peacock wrote: > I have a module, Math::Currency, which tries to be very smart with regard > to POSIX locale settings when defining the default currency formatting. > However, since I can only test on _my_ systems, I am limited in my ability > to

Testing POSIX locale support

2002-08-26 Thread John Peacock
I have a module, Math::Currency, which tries to be very smart with regard to POSIX locale settings when defining the default currency formatting. However, since I can only test on _my_ systems, I am limited in my ability to guess all of the strange locale settings that may be in use. Specific