in reply to Perl character encoding

you need to: 1. decode string from CP1252 2. encode it to CP850