Hi Michael,
Doran, Michael D [EMAIL PROTECTED] wrote:
I'm trying to strip out combining diacritics from some form input using
this code:
[...]
$sans_diacritics =~ s/\p{M}*//g;
I do it like this:
use Encode;
use Unicode::Normalize qw(normalize);
my $ascii = encode('ascii',
: Stripping out Unicode combining characters (diacritics)
I'm trying to strip out combining diacritics from some form
input using this code:
head
META http-equiv=Content-Type content=text/html;
charset=UTF-8 /head body
form action=test.cgi accept-charset=UTF-8 method=get
input
: Monday, May 05, 2008 7:27 PM
To: [EMAIL PROTECTED]
Cc: Perl4lib
Subject: Stripping out Unicode combining characters (diacritics)
I'm trying to strip out combining diacritics from some form
input using this code:
head
META http-equiv=Content-Type content=text/html;
charset=UTF-8
Kopia: [EMAIL PROTECTED]; Perl4lib
Ämne: RE: Stripping out Unicode combining characters (diacritics)
Hi Mike,
I appreciate the quick reply. I am familiar with the Unicode::Normalize module
(and will also be using that), but I left it out of this question because it's
not relevant to the problem
:52 PM
To: Doran, Michael D
Cc: [EMAIL PROTECTED]; Perl4lib
Subject: Re: Stripping out Unicode combining characters (diacritics)
On Mon, May 5, 2008 at 8:26 PM, Doran, Michael D [EMAIL PROTECTED] wrote:
[snip]
I'm pulling my hair out on this... so any help would be appreciated. If
there's any