[EMAIL PROTECTED] wrote: > Do I need to do the "expansion" thing for each string that I want to > replace? Yes, because in the file you have the "expanded" version. So if you want to match it, you need an "expanded" version of a search string. Example, the file has "T\00e\x00s\x00t\x00" in it, then you can't match that string with /Test/. And while Perl 5.6 can handle UTF-8 internally, AFAIK it doesn't yet recognise UTF-8 read from a file (you'd have to tell Perl manually to treat it as UTF-8, don't know how) -- but they're working on that (key word "input disciplines" or so). Cheers, Philip --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing List support, send email to [EMAIL PROTECTED]
- Finding and replacing a UNICODE string. kevin . burton
- Re: Finding and replacing a UNICODE string. Ned Konz
- RE: Finding and replacing a UNICODE string. kevin . burton
- RE: Finding and replacing a UNICODE string. kevin . burton
- Re: Finding and replacing a UNICODE string. Philip Newton
- RE: Finding and replacing a UNICODE string. Philip Newton
- RE: Finding and replacing a UNICODE string. kevin . burton
- Re: Finding and replacing a UNICODE string. Philip Newton
- Re: Finding and replacing a UNICODE string. Philip Newton
- RE: Finding and replacing a UNICODE string. kevin . burton
- RE: Finding and replacing a UNICODE string. kevin . burton
- Re: Finding and replacing a UNICODE string. Philip Newton
- RE: Finding and replacing a UNICODE string. Douglas Wilson
- Re: Finding and replacing a UNICODE string. Ned Konz