how can i write Farsi in PHP pages?

hi
i decided to create a web site for myself.
now i am not professional in PHP; i am using open source PHP templates in my web site.
1-which editor do you recommend for me?
2-i tried to change the content of the web page to right to left languages (like Farsi and Arabic) but it appears like ????? ?? when i upload in server, now how can i write Farsi or what should i do?

note that currently i use wordpad as my editor.

2009-10-16T16:42:45Z

NOTE:
i have added Arabic to my windows and i have no problem to viewing other Arabic sites and fonts either in win or browser.

Anonymous2009-10-16T16:26:07Z

Favorite Answer

WordPad is not a proper HTML Editor:

Editors:

Free HTML Editors, Web Editors, and WYSIWYG Web Editors and Site Builders:
http://www.thefreecountry.com/webmaster/htmleditors.shtml#htmleditors
HTML Editor Reviews - http://www.wdvl.com/Reviews/HTML/
Free Online Editor Tool: http://htmledit.squarefree.com/
Free Flash Website Builder (Online): http://www.wix.com/
PageBreeze (Free visual (WYSIWYG) and HTML tag/source modes): http://www.pagebreeze.com/

Serif WebPlus SE: http://myrtc.blogspot.com/2009/08/review-serif-webplus-se.html
Download Trellian WebPage (Free): http://www.trellian.com/webpage/download.htm
WebSketch: http://www.websketch.com/
Create a free website with Jimdo!: http://www.jimdo.com/
Notepad++ (Free source code editor and Notepad replacement that supports several languages): http://notepad-plus.sourceforge.net/uk/site.htm

You need to code the tags to indicate the language, language direction and the character set the browser needs to use including listing the system fonts that will work for Farsi.

If you see squares or question marks instead of the symbol you need to make sure you have the language pack installed necessary to show the symbols.

Installing Windows XP Language Packs:

(depending on the version of XP you have, you may need to insert your WINDOWS XP SETUP CD) then go to Control Panel >> Add/Remove Programs >> Windows Components scroll down in the list and put a checkmark next to “language packs”. If you cant find that, then go here instead Control Panel >> Regional and Language Options >> Languages then made sure both boxes under Supplemental Language Support are checked. Click NEXT and then let it do its thing. You will probably then have to reboot.

Enabling International Support in Windows XP/Server 2003 Family: http://www.microsoft.com/globaldev/handson/user/xpintlsupp.mspx
How to Configure Regional and Language Support for User Accounts: https://www.microsoft.com/windowsxp/using/setup/expert/reginalsup.mspx

Vista:

Install a display language: http://windowshelp.microsoft.com/Windows/en-US/help/4a90fe71-cca6-4965-ab39-97f92ca1a03f1033.mspx
Windows Vista Ultimate language pack release information: http://support.microsoft.com/kb/925471
Installing Language Interface Packs: http://technet.microsoft.com/en-us/library/cc766278(WS.10).aspx

Ron