[farsiweb]I want to see unicode in Mozila.

2002-10-21 Thread Mohsen Pahlevanzadeh
Hi dear Programers;
I want to write a farsi-web,But Mozila or Netscape don't display farsi in Unicode.I 
have RedHat 7.2 & working PHP. 
Please Guide me until i'll success.
--Best Regards

_
Thank you for choosing LinuxQuestions.
http://www.linuxquestions.org

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP & more! http://www.everyone.net/selectmail?campaign=tag
___
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb



[farsiweb]SOS

2002-11-08 Thread Mohsen Pahlevanzadeh
Hi dears.
I want to write a PHP file what it used Unicode(farsi).
But i don't know that how type farsi in KDE or GNOME.
Please guide me
--Best Regards

_
Thank you for choosing LinuxQuestions.
http://www.linuxquestions.org

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP & more! http://www.everyone.net/selectmail?campaign=tag
___
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb



[farsiweb]Create a subdomain in my application....

2002-11-13 Thread Mohsen Pahlevanzadeh
Hi dear Programmers.
I want a create a subdomain with my application.(under web)
Please introduce a function that perform it.(in PHP or Perl under Apache of Linux)
--Best Ragards

_
Thank you for choosing LinuxQuestions.
http://www.linuxquestions.org

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP & more! http://www.everyone.net/selectmail?campaign=tag
___
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb



[farsiweb]SOS in PHP or Perl...

2002-12-05 Thread Mohsen Pahlevanzadeh
Hi dears.
I want to register a subdomain.
I want to any time that user fill application form and click Submit,my program
register a subdomain that user entried.
Becuse i want to write a Blogger,therfore i had register a subdomain for 
each user.
I'm working under UNIX/Linux hosting.
If possible,introduce a function me that it is do.
Please guide me...
I'm waitting your email...
--Best regards

_
Thank you for choosing LinuxQuestions.
http://www.linuxquestions.org

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP & more! http://www.everyone.net/selectmail?campaign=tag
___
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb



[farsiweb]SOS

2002-12-27 Thread Mohsen Pahlevanzadeh
Hi dears.
Please introduce me a good reference's Apache web server.(BOOK)
NewRiders-Wrox press-Que-McGrow Hill-Prentice Hall or .
--Best regards

_
Thank you for choosing LinuxQuestions.
http://www.linuxquestions.org

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP & more! http://www.everyone.net/selectmail?campaign=tag
___
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb



[farsiweb]HELP

2003-03-12 Thread Mohsen Pahlevanzadeh
Hi dears.I have RedHat 7.3. I built a rpm file via msttcorefonts-1.3-3.spec script.& 
installed it rpm file until i can see & type farsi.But i can type farsi only with 
XEmac,however i type farsi with uppercase characters.I can't swicth to lowercase 
characters.
Please guide me until i can type farsi with gedit & i can swicth to lowrcase 
characters.
I'm waitting your guide
--Best regards

_
Thank you for choosing LinuxQuestions.
http://www.linuxquestions.org

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP & more! http://www.everyone.net/selectmail?campaign=tag
___
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb


Help me...

2003-09-07 Thread Mohsen Pahlevanzadeh
Hi dears.
Mr.Tavakkolian was helping me until my function completed.
This function converts utf8(digit) to integer.
$farsi_table_linux=array("NONE",
"۰",
"۱",
"۲",
"۳",
"۴",
"۵",
"۶",
"۷",
"۸",
"۹");
function search_index_array($str)
{
 global $farsi_table;
 
 for ($i=0;$i<11;$i++) 
 { 
  if ($farsi_table[$i]==$str ) 
   return $i; 
 } 
 return FALSE;
}// end of search_index_array

function utf8_to_int($str)
{
 $len=strlen($str);
 $out="";
 $char=explode(";",$str);
 for ($i=0;$i<$len;$i++)
  { 
   $char[$i].=";";
   if (search_index_array($char[$i])!=False)
 $out.=search_index_array($char[$i])-1;
  }//end of for ($i)
 return $out; 
}//end of utf8_to_int
When i call utf8_to_int("۰"."۹") ,this return 09 ,But When i enter a 
number(utf8) via keyboard,This function return 0.
Please guide me that i how enter a number via keyboard(persian) & i get true answer.
--regards

_
Thank you for choosing LinuxQuestions.
http://www.linuxquestions.org
___
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb


Re: FarsiWeb Digest, Vol 4, Issue 7

2003-09-28 Thread Mohsen Pahlevanzadeh

Hi dears.I have a problem in RH 9 with "keye farsi" & "yeye farsi".
I type my script with kwrite.But when i see my output in IE 6.0,
Instead of "ke" print ? .
Yours,Mohsen.



--- [EMAIL PROTECTED] wrote:
Send FarsiWeb mailing list submissions to
[EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.sharif.edu/mailman/listinfo/farsiweb
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FarsiWeb digest..."


Today's Topics:

   1. Typing unicode farsi in redhat 8/9? (Masoud Sharbiani)
   2. Re: Typing unicode farsi in redhat 8/9? (Roozbeh Pournader)
   3. Re: Typing unicode farsi in redhat 8/9? ([EMAIL PROTECTED])
   4. Re: Typing unicode farsi in redhat 8/9? (Masuod)


--

Message: 1
Date: Sat, 27 Sep 2003 11:33:59 -0400
From: Masoud Sharbiani <[EMAIL PROTECTED]>
Subject: Typing unicode farsi in redhat 8/9?
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello all,
I was wondering whether it is possible to write in Farsi (unicode),  
under redhat 8 or redhat 9, has anyone ever done this?
Any and all information would be appreciated.
thanks in advance,
Masoud


--

Message: 2
Date: Sat, 27 Sep 2003 19:31:58 +0330
From: Roozbeh Pournader <[EMAIL PROTECTED]>
Subject: Re: Typing unicode farsi in redhat 8/9?
To: Masoud Sharbiani <[EMAIL PROTECTED]>
Cc: FarsiWeb mailing list <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain

On Sat, 2003-09-27 at 19:03, Masoud Sharbiani wrote:
> I was wondering whether it is possible to write in Farsi (unicode),  
> under redhat 8 or redhat 9, has anyone ever done this?

You can write Persian in GNOME, KDE, and Mozilla with late version of
Red Hat, althought with different levels of support. XFree86 also has a
keyboard layout called 'ir' for the Iranian Standard ISIRI 2901:1994.
glibc also has a Persian locale, allowing Persian special sorting (like
proper handling of Hamza), localized digits output, and things like
that.

Of course the level of support in Red Hat 9 is a little higher (fixed
more bugs, etc). The major problem seems to be free and
Unicode-compatible fonts. To my best knowledge, no Persian font exists
that passes that criteria.

roozbeh



--

Message: 3
Date: Sat, 27 Sep 2003 09:30:21 -0700 (PDT)
From: [EMAIL PROTECTED]
Subject: Re: Typing unicode farsi in redhat 8/9?
To: Roozbeh Pournader <[EMAIL PROTECTED]>
Cc: FarsiWeb mailing list <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

> You can write Persian in GNOME, KDE, and Mozilla with late version of
> Red Hat, althought with different levels of support.

We were discussing international support over on another group and a very 
nice person (who does not actually know Persian) took a look at my Persian 
website and gave an assessment of the problems on Netscape and Opera.  Since I see 
similar results with Linux maybe they stem from the same problem. Since I 
don't like the idea of his efforts going to waste and since the topic has 
just come up again, I'll just append some of his remarks below. Maybe 
someone will do something with this info. (I'm editing out the stuff that doesn't 
apply here too much.)

-- Forwarded message --
Date: Mon, 22 Sep 2003 18:43:37 -0400
From: Foteos Macrides <[EMAIL PROTECTED]>


...The problems I described with Opera 7 are also described in your screen shots page. 
 Basically, it doesn't handle dir="rtl" and thus displays Persian bass ackwards.

I also figured out the primary problem with Netscape 7.  In the course of transforming 
the utf-8 encoded Persian, it is improperly keeping track of the word lengths and 
consequent screen positions (i.e., it is converting multi-byte representations of 
individual characters, and not doing the math right for the resultant widths).  So the 
more to the right the characters appear in the line, the yet more to the right you 
must position the cursor for it to behave as if it is over a word for doing a 
double-click or click-and-drag select.  If you want to select the right-most word, or 
the associated quotation mark, you have to place the cursor about an inch to the right 
of them, in what is blank space within the display.  The errors become less for words 
progressively more to the left, and for words in the left half of the line you can 
double-click pretty much on the actual words (but things are still not perfectly lined 
up).  The line should be centered, but appears too far the le!
 ft, because Netscape 7 "thinks" it is centering a much longer line.  So Netscape 7 
still has a seriously flawed implementation,