develooper Front page | perl.perl5.porters | Postings from January 2001

One more patch for UTF8

Thread Next
Inaba Hiroto
January 8, 2001 07:53
One more patch for UTF8
Message ID:
Attached is an UTF8 patch for perl@8342.

It does followings.

Fixes `x' (pp_repeat) bug for UTF8. (pp.c)

Fixes tr/SEARCH/REPLACE/ bug when only one of
SEARCH and REPLACE is utf8. (op.c)

OPpTRANS_GROWS flag is set properly. (op.c)

Use OPpTRANS_GROWS flag in do_trans_xxx
for efficiency. (doop.c)
(+ some fixes)

"\x{80}" is UTF8 only when `use utf8' is in effect.(toke.c)
# It breaks t/op/length.t test 7
(Also changed some fix by Mr.Hietaniemi.)

`uv_to_utf8' does not do string termination.(utf8.c)
(needed to use OPpTRANS_GROWS flag in doop.c)
    Inaba Hiroto    <>

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About