Hey guys, Im hoping someone can point me in the right direction with this.
I have a fairly large Mechanize app that works great on perl 5.6.1 . when i move it to a perl 5.8.0 box however, the regexp pattern matches i do on the content returned by my agent always fail to find the euro symbol. In perl 5.6.1, i use code such as ($rateBuffer =~ /\&euro/) and that works great. In perl 5.8.0, i have tried about 10 variations via copy and paste, and sub searches, and none match anything. Its as if the buffer is a black hole once it has that euro in it =/ meaning that if my buffer is known to have "<euro sign> Hello World" in it, a simple regexp for the letter 'W' or the word 'Hello' will all fail as well. I cured the 'Wide character' problem I was having trying to print the buffer on 5.8.0 by using a 'use bytes;' statement, and although the prints now succeeded and printed some interesting symbols to the screen, the old copy n paste into a regexp still failed me. It appears from web searching that i could change the locale of the whole OS to be something other than US... but im positively paranoid that will break untold legions of apps on this box. Does anyone have a suggestion with it comes to using the euro with perl 5.8.0 and libwww and mechanize? ged -- gedanken
