Doug Cook wrote: > My program worked fine under previous versions of Perl on MacOS (prior to Snow Leopard). > > Now it dies under 5.8.9, 5.10.0 and 5.12.1, with "Malformed UTF-8 character (fatal)" - but the input data is the same, and is, as far as I can tell, perfectly valid UTF-8. It could well be that your editor saves the source as either UTF-8 or ISO-8859-1. Did you check the input data at the byte level? -- RuudThread Previous | Thread Next