|
To Anwar King - cgman forum Arabic solution
|
Anwar,
I see that Sudadev is down so I'm writing this here for you I'm sure u'll check it fast, and I'm really sorry for being late to respond. You don't have any problem with the coding but the problem lies within the apache server settings. Look for this value in httpd.conf (within the apache folder): AddDefaultCharset on and set it to off like such:
AddDefaultCharset off
You can just delete the whole line but I prefer setting it to off. The "on" value gives precedence to the default language encoding "iso-8859-1" over the http encoding "windows-1256" which is your problem right now.When some body posts in arabic the brower shifts to the default encoding and sends the data to the server as a garbage code. The garbage code already there cannot be repaired since it's already saved like that in the database. You have three options to deal with it:either get rid of it, leave it as it is or just tell the members to correct their posts after you solve the problem.
I hope this helps
with best wishes
(عدل بواسطة Ahmed Elsharif on 05-21-2004, 02:18 AM) (عدل بواسطة Ahmed Elsharif on 05-21-2004, 02:22 AM) (عدل بواسطة Ahmed Elsharif on 05-21-2004, 02:25 AM) (عدل بواسطة Ahmed Elsharif on 05-21-2004, 02:29 AM)
|
|
|
|
|
|
|
|
Re: To Anwar King - cgman forum Arabic solution (Re: Abdel Aati)
|
Quote: عندو خدمة اللغة العربية من مجاميعو يعني اتجاه الكتابة وتشفير اللغة الاساسية الخ ارجاء انزال هذا الملف؛ ولعدين رفعه الي السيرفر في ملف اللغات |
The problem was not with arabic language support in phpbb. They already have that enabled. Their problem was with the apache server as I said earlier. Their server was set to send US english encoding in the header and this overrides any arabic setting in phpbb. The header sent by the server overrides any http header. Try it in you local server just add the line I provided above in httpd.conf in the "Apache/conf" folder for windows or "etc/httpd/conf/" folder for Lunix and you will see your site does not support arabic encoding any more. What I did is to change the value above and then restart the server remotely, and this solved the problemThe template they had did not support the arabic patch provided by phpbb because the creator just stripped all that functionality so I just enabled some of that again from inside the template. In fact I redesigned the whole template system again to give it more appeal. However phpbb support arabic even without the patch. If sudadev is up you could have followed some or our discussion over this matter but I think it's still down However here is the link http://sudadev.net/forum/with best wishes (عدل بواسطة Ahmed Elsharif on 05-23-2004, 05:07 PM) (عدل بواسطة Ahmed Elsharif on 05-23-2004, 05:09 PM) (عدل بواسطة Ahmed Elsharif on 05-23-2004, 05:13 PM) (عدل بواسطة Ahmed Elsharif on 05-23-2004, 05:14 PM) (عدل بواسطة Ahmed Elsharif on 05-23-2004, 05:14 PM) (عدل بواسطة Ahmed Elsharif on 05-23-2004, 05:16 PM) (عدل بواسطة Ahmed Elsharif on 05-23-2004, 05:24 PM) (عدل بواسطة Ahmed Elsharif on 05-23-2004, 05:29 PM)
| |
|
|
|
|
|
|
|