in reply to Diiference between these two filenames / strings

Please follow the advice given in SO:how-can-i-dump-a-string-in-perl-to-see-if-there-are-any-character-differences and dump both strings either with

 perl -MDevel::Peek -e 'Dump "ABC"'

or

use Data::Dumper; local $Data::Dumper::Useqq = 1; print(Dumper("ABC"));

to see what's happening.

We can't tell how your data-sources encoded your strings and you haven't even used code-tags to help us at least a bit.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Update

changed tiitle to make a difference