Hi all,

All this talk of Unicode handling has brought up a problem I run into 
every so often.

Is there any way to use the Iconv library to lossily convert between 
partially incompatible encodings?  In other words, if, for example, I've 
got a UTF-8 string that I need to convert down to 7-bit ASCII, and I 
don't especially care what happens to the extended characters (short of 
a single character being mapped to a single character - ideally one I 
can specify), is there any way of forcing the recode?

I realise I could use the failure message to figure out which characters 
in the input string are incompatible and blank them out case-by-case in 
a loop, but that seems awfully wasteful.

Any ideas?

-- 
Alex