in reply to special character printing issue

Hmm, difficult to say with so few details, but you may want to take a look at the encode and decode functions of the Encode module. Please show the output of your bash script (without Perl) and of your Perl script.