I would like to print out the content of an associative array. For this I'm using Data::dumper.
So, for exemple, if the associative array is called "%w", I write :
print OUT Dumper(\%w);
Here's the problem: there are some words like "récente" that are printed out as "r\x{e9}cente".
If I write just :
print OUT %w;
I've no problems, so "récente" it will be printed out as "récente".
All text files used for the script are in utf8. Moreover I use the module "utf8" and I specify always the character encoding system.
For ex. :
open( IN, '<', $file_in);
binmode(IN,":utf8");
I'm pretty sure that the problem is related to Data::dumper. Is there a way to solve this or another way to print out the content of an associative array?
Thank you.