[Israel.pm] Perl-TK frame - showing Gibberish instead of Hebrew / Arabic characters from UTF-8 Input file.

Omer Zak w1 at zak.co.il
Sun Jun 1 02:48:18 PDT 2008

The gibberish looks as if the string from the text file was not decoded
(converted into an Unicode string).
I am not fluent in the Perl way of dealing with Unicode strings, so I
apologize for being unable to offer more specific advice.

On Sun, 2008-06-01 at 12:43 +0300, Oren Maurer wrote:
> Hi all
> I'm trying my first steps with Perl/Tk.
> I want to read input text file and show the file contents on a frame.
> The input text file has Hebrew and / or Arabic characters.
> It is saved as UTF-8.
> The Latin characters are displayed Ok. But the Hebrew / Arabic
> characters are shown as Gibberish (I mean - those small 'x' and '[]'
> instead of real Hebrew).
> For example:
> 003134388 24633 H $$aכל ספוריו ×(c)ל ×(c)מואל יוסף ×¢×'× ×•×Ÿ
> Instead of:
> 003134388 24633 H $$aכל ספוריו של שמואל יוסף עגנון
> What can I do??

May the holy trinity of  $_, @_ and %_ be hallowed.
My own blog is at http://www.zak.co.il/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html

More information about the Perl mailing list