develooper Front page | perl.perl5.porters | Postings from March 2007

Re: [PATCH] feel the the baß (encoding problems in the regex engine)

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
March 20, 2007 02:03
Subject:
Re: [PATCH] feel the the baß (encoding problems in the regex engine)
Message ID:
b77c1dce0703200203g46bad218m52e56bd0fa661253@mail.gmail.com
On 20/03/07, demerphq <demerphq@gmail.com> wrote:
> As a bonus this patch includes two bug fixes which I came across while
> working out the utf8 encoding problem. One is for the trie code
> charclass logic which was doing the wrong thing under utf8 and the
> other was in some debugging output code that was using the wrong utf8
> flag.

Thanks, applied as #30647, although I removed an assignment to cast,
which might be illegal for some setups:

        (U8*)exp=Perl_bytes_to_utf8(aTHX_ (U8*)exp, &len);

replaced by

        exp = (char*)Perl_bytes_to_utf8(aTHX_ (U8*)exp, &len);

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About