I tried to enter Arabic text as items description and changing the encoding into UTF-8 and windows-1256 (in the XSL file and rss_example.php) but every time encoding looks incorrect and text is unreadable. I have got a look into the generated "rss_example.php" source from the browser (I.E 7) and I found that the Arabic text inside the source is incorrect too.
Said Bakr - 2007-09-14 00:20:55 - In reply to message 2 from Manuel Lemos
Well! I may not able, exactly, understand what do you mean, However, the following is some copy and paste of "rss_example.php" that I used it:-
$properties['description']='الذي لا يضام وارحمني بقدرتك علي حتى لا اهلك أنت رجائي فكم من نعمه أنعمت بها علي قل لك عندها شكري وكم من بلية ابتليتني بها قل لك عندها ';
$properties['title']='New Said Bakr';
* If the document was generated successfully, you may now output it.
Header('Content-Type: text/xml; charset="'.'UTF-8'.'"');
As I mentioned above, I changed the encoding values in rss1html.xsl file. By the way, the Arabic text displayed in this reply is incorrect inspite of it displayed correctly inside the "Winsyntax" the text editor that I used.
Said Bakr - 2007-09-15 02:38:16 - In reply to message 4 from Manuel Lemos
My operating system is Windows XP and the regional settings is set to Arabic.
I just edited the "rss_example.php" file enclosed with the class package using a text editor. The edit process was about to replace the English text in both title and description properties with Arabic text. I can read the text well inside the text editor, but when I call the "rss_example.php" the output text is not correct. Is it possible to be related with my local Apache server? Really, I don't know! Due to this website pages encoding is ISO-8859-1 so the following Arabic text will not displayed correctly!
إختبار لغة عربية
To test what I mean, you may able to visit any Arabic website that use UTF-8 encoding such as http://www.ashrafmisr.com and copy a piece of text and place it inside the example file then compare the result with the original text.