maybe something like
$cString =~ s/([\x7f-\xff])/'&#'.ord($1).';'/ge;
will fix the matter.
>In my experience, the numeric escapes where available seem to be more universal between browsers.
--
saludos,
J. Alejandro Ceballos Z. | ---------------------------+--------------------------- http://alejandro.ceballos.info | [EMAIL PROTECTED] | "A menudo la razón -------------------------------+ comete errores, | pero nunca | lo hace a conciencia." | | -- Josh Billings
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>