Re: Fwd: [ #83490] options.t fails for non-utf8 locale

On Mon, Jun 24, 2013 at 12:39 AM, intrigeri <intrigeri debian org> wrote:
In my Debian packages build chroot, CODESET == ANSI_X3.4-1968, which
this updated patch does not know about, so the tests still fail.

If I change the patch to read:

        if ( $codeset eq 'US-ASCII' || $codeset eq 'ANSI_X3.4-1968' || $codeset =~ /ISO8859/ );

... instead of:

        if ( $codeset eq 'US-ASCII' || $codeset =~ /ISO8859/ );

... then the tests pass.

I thought about this a bit, and decided the better way to do this is
to test for a UTF-8 encoding, instead of trying to cover all of the
various non-wide-character encodings, which would be considerable.

Please try the attached patch and let me know if it works.



Attachment: rt83490-skip_options_non_UTF-8_locale.24Jun2013.diff
Description: Binary data

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