I assume there has been no intention on not replying to the list.
Any one interested of course can ask him to send his code, as he
says it's free (as in something).

behdad

---------- Forwarded message ----------
Date: Thu, 13 Nov 2003 15:06:31 -0500
From: AmirBehzad Eslami <[EMAIL PROTECTED]>
To:     "Behdad Esfahbod" <behdad>
Subject: Re: Solved Farsi "Yeh (U+06CC)" and "Keheh (U+06A9)" Problem by
    **PHP**

Dear Behdad,
Thank you for your reply.

The library contains the following functions:
- fa_send_headers(): As the name says, this function sends required HTTP
headers for a Farsi-UTF-8 encoded page.

- is_win9x() - Returns TRUE if client-side is running under Win9x.

- fa_get_farsi_number() - Converts the given number from Latin numerical
symbols to Farsi numeral.

- fa_encode_numericentity()
- fa_decode_numericentity()

- fa_get_user_input() - filters user inputs in POST, GET requests

- fa_get_userfriendly_string() - Returns a compatible string depending on
'User Agent'

- ob_farsi_handler() - ob_start callback function to filter output content

383 Lines of codes.

Why I'm going to release this library?
To help ourselfs to have a correct Farsi content on the Web.

That's why it's free. No body wrote such libraries before. the "Yeh" and
"Keh" problem are infecting Farsi web pages today!

These functions helps us to control our content.
This is only my duety. That's all.

Any way, Thank you again.


Bedrood,
Behzad

----- Original Message -----
From: "Behdad Esfahbod" <[EMAIL PROTECTED]>
To: "AmirBehzad Eslami" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 8:55 PM
Subject: Re: Solved Farsi "Yeh (U+06CC)" and "Keheh (U+06A9)" Problem by
**PHP**


> On Thu, 13 Nov 2003, AmirBehzad Eslami wrote:
>
> > Dear FarsiWeb Team, e-Greetings,
>
> Welcome,
>
> > I programmed a "PHP Function Library" named "phpFarsi" to solve
> > the "Yeh (U+06CC)" and "Keheh (U+06A9)" characters problem
> > under Windows 95/98/ME/NT/2000.
>
> This is not an official response from the FarsiWeb project, just
> my own idea:  The FarsiWeb Project does not try to fix today and
> yesterday users problems by recommending non-standard usage, but
> tries to make more things break today, in the hope that we have
> more standard compliant systems tomorrow.
>
> You can simply send your function (which I assume should not
> exceed ten lines) to the list.  And I would say, this is
> something that every PHP programmer should do it himself.  BTW, I
> know Mr Connie Genius is interested in yours.
>
> behdad
>
> PS.  A PHP note:  I don't know how did you imlement that, but
> have a look at output handlers.  That's the perfect place to do
> that.
>
>
> > With this library, You no longer need to use Arabic version of
> > "Yeh" and "Keheh" while writing your web pages:
> >
> > How?
> >
> > Simply use the correct Farsi "Yeh (U+06CC)" and "Keheh
> > (U+06A9)", and let the library to detect user's operating
> > system, then it will generate an appropriate Farsi output
> > depending on the client-side system's compatibility. If
> > client-side is Windows XP or higher, we'll see correct/real
> > Farsi characters, If it's Windows 95/98/ME/NT/2000, we'll see
> > Arabic version of "Yeh" and "Keheh" as an alternative.
> >
> > That's not all, the library contains lots of useful functions
> > to control the I/O operations in Farsi web pages.
> >
> > I like to release this FREE function library,
> > May I send my function library to you to publish it on FarsiWeb.info?
> >
> > Warm regards,
> > Behzad
>
>


_______________________________________________
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb

Reply via email to