in reply to Perl\Tk Arabic %100 Support Almost There !

Wow, that is a great thing you have done, I still remember we had a discussion on this problem you faced. That's great you have shared the news with us but wouldn't it have been more appropriate to give an abstraction of what you have done in Perl code as well for the following reasons:
  1. The RapidShare link doesn't work, it shows weird symbols.
  2. Many PerlMonks users would be interested to know what you did but many would not be following Arabic at the forum you provided either because they don't have the appropriate encoding in their machines or maybe thier ISP geographical location makes it restricted for them to open the site or they don't know the language in the first place but would like to extend this solution to their native languages if they can.

It'd be really generous on your part if you showed this in a brief Tk code for I think you seem to be the first one who pioneered this approach. Congrats once again.


Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.

Replies are listed 'Best First'.
Re^2: Perl\Tk Arabic %100 Support Almost There !
by Swalif (Scribe) on Sep 06, 2009 at 00:29 UTC
    Hi Hisham..
    Great to hear from you again !
    About your first point, I didn't really put any Rapidshare link.. If you mean the links for pictures they are hosted on wordpress and I double checked them and they are fine, please feed me back if this isn't the case in order to upload them somewhere else.
    As for the second part, no problem at all ..
    First of all, I have this application upon my friends request ,though it is very small but it has a great value for Arabic poetry. The problem was that many of my friends are real world poets and they don't know anything about running CGI scripts so I tried to change the interface from CGI to Tk which was my first choice because of great documentation..
    To make long story short, I had these difficulties on showing Arabic chars. let alone working with them and get results.
    So, I used:
    1- Strawberry on Vista
    2- Trial Komodo IDE
    3- Trial ActiveState PerlApp for building the standalone App.

    As for the Perl code I couldn't get it showed properly here in the forum because of the plenty Arabic text it has, but as I noted before there was only three steps:
    1- use utf8.
    2- change the default font to Arial.
    3- Justify entries to right.
    *4- Avoid using encoding and decoding.