in reply to Re^2: Tie::File failing with Unicode/UTF-8 encoding?
in thread Tie::File failing with Unicode/UTF-8 encoding?

And I saw your post. So, overriding STORE,FETCH seems more elegant. I tried your untested code but it seems producing same warnings message for utf8 characters.

Why???

I don't know , I didn't test it :)

  • Comment on Re^3: Tie::File failing with Unicode/UTF-8 encoding?

Replies are listed 'Best First'.
Re^4: Tie::File failing with Unicode/UTF-8 encoding?
by HelenCr (Monk) on Nov 04, 2012 at 15:45 UTC

    Most probably, this is the warning (or similar):

    utf8 "\xCE" does not map to Unicode at F:/Win7programs/Dwimperl/perl/l +ib/Tie/File.pm line 917 Tie::File::_read_record('Tie::File=HASH(0x24cb72c)') called at + F:/Win7programs/Dwimper l/perl/lib/Tie/File.pm line 175 Tie::File::_fetch('Tie::File=HASH(0x24cb72c)', 0) called at F: +/Win7programs/Dwimperl/p erl/lib/Tie/File.pm line 210 Tie::File::STORE('Tie::File=HASH(0x24cb72c)', 0, 'τι + κάνετε;') called at tie file test .pl line 31

    Can you look into it and try to suggest the cause?

      Most probably, this is the warning (or similar): Can you look into it and try to suggest the cause?

      Sorry, no, its too clever for me. I posted what I've been able to make work, for the rest complain to maintainers.