Bug#529305: Workaround for: use locale;" breaks \w on matching c-cedilla, o-diaeresis and u-diaeresis under tr_TR.utf8 and de_DE.utf8 locales
Dominic Hargreaves
dom at earth.li
Sun May 5 17:00:14 UTC 2013
A possibly-useful workaround for people experiencing this bug.
Cheers,
Dominic.
----- Forwarded message from Karl Williamson via RT <perlbug-followup at perl.org> -----
Date: Sat, 04 May 2013 19:51:08 -0700
From: Karl Williamson via RT <perlbug-followup at perl.org>
To: dom at earth.li
Subject: [perl #117787] use locale;" breaks \w on matching c-cedilla,
o-diaeresis and u-diaeresis under tr_TR.utf8 and de_DE.utf8 locales
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE
autolearn=no version=3.3.1
Reply-To: perlbug-followup at perl.org
X-Urchin-Spam-Score-Int: -10
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2
Also, starting in 5.16, there is a work-around available for this
problem, as described in perllocale under "Unicode and UTF-8". What you
do is write
use locale ':not_characters';
and use any of several I/O methods mentioned in that doc which convert
to/from the current locale
--
Karl Williamson
----- End forwarded message -----
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
More information about the Perl-maintainers
mailing list