I am given a UTF-8 string. Because some downstream system only handles
Latin-1 text, I'd like to either strip all characters that are outside
the Latin-1 codepoints (Latin-1 is 0x00-0xFF), or replace them with a
'.' or maybe a '¿' to indicate a substitution. What's the best way to
do this?


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to