Hello,
I'm trying to write a search and replace program in PERL that will replace all instances of a string with french characters with a new string which also containcs french characters. The only problem is it appears that when perl extracts the string from the text file it misinterprets some of the chars. For example the string Année courante when extracted from the file comes out as AnnÚe courante. My regular expression looks like
m/([ \w',àéôâçêëèûùî–"ÀÁÂÃÄÅÈÉÊËÌÍÎÏ’:.()\/-]+)/
Any help is appreciated!
I'm trying to write a search and replace program in PERL that will replace all instances of a string with french characters with a new string which also containcs french characters. The only problem is it appears that when perl extracts the string from the text file it misinterprets some of the chars. For example the string Année courante when extracted from the file comes out as AnnÚe courante. My regular expression looks like
m/([ \w',àéôâçêëèûùî–"ÀÁÂÃÄÅÈÉÊËÌÍÎÏ’:.()\/-]+)/
Any help is appreciated!