Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by Anonymous Monk
on Nov 04, 2012 at 12:55 UTC ( #1002193=note: print w/ replies, xml ) Need Help??


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?
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002193]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-12-20 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls