I have a text file in spanish, how can I normalize all spanish characters (remove tildes and covert letters)
example
convert all
ñ to n's
ó to o
I know about the Unicode::Normalize module but I don't understand how to use it
I have a text file in spanish, how can I normalize all spanish characters (remove tildes and covert letters)
example
convert all
ñ to n's
ó to o
I know about the Unicode::Normalize module but I don't understand how to use it
Have you tried using search and replace? You could iterate through the text file and do something like this:
$_ =~ s/ó/o/g;
$_ =~ s/ñ/n/g;
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.