×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: problem when sending comments in arabic

problem when sending comments in arabic 16 years 2 months ago #1025

  • macara
  • macara's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hello,

When I click on send, the letters (written in arabic) in the comments return to a question marks.

Please see the settings and the problem below.

Thankyou in advance.


Best Regards

http://img81.imageshack.us/my.php?image=66666666ms5.png[img] [img]http://img201.imageshack.us/my.php?image=7777777777bh9.png[img][img] img81.imageshack.us/my.php?image=66666666ms5.png [img]http://img201.imageshack.us/my.php?image=7777777777bh9.png[img][img]

http://img201.imageshack.us/my.php?image=7777777777bh9.png[img][img] img201.imageshack.us/my.php?image=7777777777bh9.png [img]

problem when sending comments in arabic 16 years 2 months ago #1079

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
your website is in UTF-8? The database too is in UTF-8?

problem when sending comments in arabic 15 years 10 months ago #2387

  • keo
  • keo's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Daniel Dimitrov wrote:

your website is in UTF-8? The database too is in UTF-8?

Dear Daniel,
I'm using joomla 1.5.x with !joomlacomment 3.2.6
I had the same problem and i doubled checked my website and database. they are in UTF-8.
After i submit comment then it becomes ????. i went to see Table but it shows ???? too in Comment Field.

What else should i check?:(

Regards,

problem when sending comments in arabic 15 years 10 months ago #2388

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Is utf-8 selected in content settings?

problem when sending comments in arabic 15 years 10 months ago #2389

  • keo
  • keo's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Thanks for quick reply,
yes, Local charset: utf-8 is set.
actually, i am not using arabic but other language, but the same symtom. it is called Khmer unicode font.
when i posted article, with Khmer unicode font, it worked fine . therefore, i am not sure what was wrong.
as well, the captcha image doesn't display. php-gd 2.0 is installed.

please help!

problem when sending comments in arabic 15 years 10 months ago #2438

  • keo
  • keo's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi Daniel,
At the end i got it works after installed all fresh database and joomla using utf-8.
But i got another problem, is that some characters become question mark box. <?>
I went to see in database comment field and all characters is ok but only displaying in front-end (some character are question mark box).

How can i how this?

Regards,

problem when sending comments in arabic 15 years 10 months ago #2439

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
go to the backend -jocoment -> content settigns-> security

and look at word lenght and so on. Change the settings to -1. This should solve it. The function that we use there are not utf-8 aware - this is changed for 4.0.
Greetings!
Daniel

problem when sending comments in arabic 15 years 10 months ago #2441

  • keo
  • keo's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi Daniel,

You are champion! It works. :)
You are so helpful and quick response.

Thanks,

problem when sending comments in arabic 15 years 5 months ago #5173

  • Mehdi
  • Mehdi's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
I have the same problem using Persian (fa-IR) language,
I am using
joomla 1.5
Joomlacomment 4.0

default char set for joomla database is UTF8 {utf8-general-ci (Unicode (Multilingual) ,case-insensitive )}

Joomlacomment setting:
comment setting>Local charset: is utf8

but the problem was with comment char set in the database which is (latin1-swedish-ci)
I am not an expert to say what causes comment system to use this charset, unlike the other part of the database, but after changing all table setting to utf8-general-ci the problem solved,

also the "max length" fields in security tab are enable and working fine.

my suggestion is:
1- if the database charset is setting by your package during installation, please change it to utf8-general-ci
2- if I should change something to avoid this, in new installation please let me know.

Thanks for the great job
  • Page:
  • 1
Time to create page: 0.127 seconds