--encode error will warn instead of croak--