in reply to Tie::File failing with Unicode/UTF-8 encoding?
Running your code produces the following console output on my machine (Windows 7, ActivePerl):
0 τι κάνετε; 1 πάρτε το ή αφή +;στε το 2 שלום חברים 3 abc לא כןכן efg 4 מתי ולאן This is it 5 מעכשיו לעכ +13;יו 6 Σήμερα είναι +Τρίτη 7 Θέλω να φάω 8 τι κάνετε; 9 שורה מס' 5
The tied-file's contents:
τι κάνετε; πάρτε το ή αφή& +#963;τε το שלום חברים abc לא כןכן efg מתי ולאן This is it מעכשיו לעכש +;יו Σήμερα είναι &# +932;ρίτη Θέλω να φάω τι κάνετε; שורה מס' 5
I didn't get the errors you're reporting.
On a separate topic, Tie::File works well with smaller files, but performance significantly slows with files > 10M, in case you may be working with such.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tie::File failing with Unicode/UTF-8 encoding?
by HelenCr (Monk) on Nov 03, 2012 at 18:46 UTC | |
by Kenosis (Priest) on Nov 03, 2012 at 19:03 UTC | |
by HelenCr (Monk) on Nov 03, 2012 at 19:27 UTC |