Help with iconv command

Hi ,

I am using iconv command to convert a file in UTF-16 format to UTF-8 format. This command will work for few files but for some showing an error as bad input character.
But if i copy the contents of the file for which it is showing "bad input character" to a new file and perform the conversion it is working.

Please let me know how this iconv command works.
And also any way by which this error can be resolved.

Thanks,
Shruthi

$iconv -f UTF-16 -t UTF-8 original-file > new-file

Please show exactly how you used iconv.

Please show exactly how you copied the file.

That a copy of the file would work differently than the original is mysterious, unless you did something other than a plain cp...