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

Re: [PATCH perl@8327] strings with \x{..} in the middle are corru pted

From:
andreas.koenig
Date:
January 5, 2001 09:59
Subject:
Re: [PATCH perl@8327] strings with \x{..} in the middle are corru pted
Message ID:
m3u27d519f.fsf@ak-71.mind.de
>>>>> On Fri, 5 Jan 2001 14:43:58 +0100 , "Roca, Ignasi" <ignasi.roca@fujitsu.siemens.es> said:

>> Yes I'm working on an EBCDIC environment.
>> In any case function uv_to_utf8 adds a NULL character at the end of the
>> destination buffer and as it is handling the string backwards, last
>> character will be overwritten. 
>> So I thing that my patch should be applied.
>> 
 > I'm asking in which case can, in ASCII environment, appear these bug.
 > Can you try without the patch following:
 > print "ok \xFF\x{FF}\n" & "ok 22\n";
 > and add it to the op/bop.t script ?

No, this also succeeds in ASCII environment.

-- 
andreas



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