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

One more patch for UTF8

Thread Next
From:
Inaba Hiroto
Date:
January 8, 2001 07:53
Subject:
One more patch for UTF8
Message ID:
3A59E510.52BAB5B9@st.rim.or.jp
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    <inaba@st.rim.or.jp>


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