View Single Post
Old July 28th, 2004, 06:25 AM   #5 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
I did indeed answer your post on registered users I think you placed it in the classifieds area though.

As far as the Arabic stuff this is a support forum. This is for the normal work of the program Our program is not written in Arabic and does not support Arabic. As I stated I do no know how those character's are being written into the mysql database so one does not know what the issue is.

As far as encoding I think your far ahead of yourself here. First you need to write an Arabic translation. Then you also need to load the proper encoding.

Find this in pp-inc.php

elseif ($Globals['pplang'] == "chinese") {
$contentmeta = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2313\" />";
}

add below

elseif ($Globals['pplang'] == "arabic") {
$contentmeta = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-6\" />";
}


This assumes you have made a language called arabic under your languages directory. You can not just have someone come by and register an arabic name and expect mysql to know that in the world it is.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote