in reply to How do I regex for characters like ¾, ¼ ?
In order to make it work reliably, you should make sure that the file's content gets Encode::decode'd into perl's internal format, and that the perl script is written in utf8, and that you use utf8;.
When you print that file again (to the browser or a file) you have to Encode::encode encode it into the desired charset.
|
|---|