[perl #48108] [BUG] downcase opcode fails on unicode strings w/o icu
Will Coleda via RT
parrotbug-followup at parrotcode.org
Mon Sep 21 06:12:56 UTC 2009
On Sun Oct 05 14:04:37 2008, julianalbo wrote:
> Updated information: we added recently a workaround to the utf8 downcase
> function, by moving code already present out of the ICU #if block.
>
> This workaround delegates to the ascii downcase when the string has only
> codepoints in the ascii range (the way used to do that check is
> debatable, must be revisited during strings pdd work).
>
> Extend it to codepoints in the iso-8859-1 range is not so easy, will
> need to check the string content.
>
> Attempt to transcode will be not helpful if the transcode function used
> also require ICU.
So, the original code snippet provided works now without ICU;
If there is a need for this to work additionally in the iso-8859-1 range, please open a new
ticket at https://trac.parrot.org/
Thanks!
--
Will "Coke" Coleda
More information about the parrot-dev
mailing list