It looks like the value pasted into your posting was UTF-8 C3 82 C2 81, which converts to Unicode 81C2, which doesn't make sense as that is in the middle of the Unicode CJK characters.
Please tell us what font you have selected. And do you have one of the Chinese IME's active? And is the source file Unicode encoded?
Unfortunately, Unicode has more characters than anyone can handle. Lots of characters can look the same. If I use the WinXP character map program to search for "equals" it shows three different characters:
U+003D = = Normal equal sign
U+FF1D = = Fullwidth equals sign
U+F366 ﹦ ﹦ Small equal sign
Only the first of these is what Perl will understand.
A couple more characters that look somewhat similar are:
U+2550 ═ ═ Box Drawings Double Horizontal
U+3013 〓 〓 Geta Mark
And I played around a bit and found that Windows will freely convert the fullwidth equals to a normal equals. But Perl will continue to see them as different.
Anyway, check what font you are using, and perhaps save the source once as non-Unicode text? (File / SaveAs / Set Encoding to 'ANSI' ) 行 不 行 吗 ?
|