Page 1 of 1

Encoding problem with the poller result

PostPosted: Wed Nov 12, 2008 9:55 pm
by ameenov
I'm using Arabic language with the poller & it is working fine ...

it shows the options fine before voting but after voting i get the result with & unreadable language like:

-- In firefox:
��� ��� �������

�����
22%

�� ���
56%

�����

-- In IE 7:
�������/pollerTitle>

��

22%
���/optionText>

56%
���/optionText>



# In Safari & Google Chrome showing characters fine!!

PostPosted: Fri Nov 14, 2008 10:20 am
by Batalf
You probably have to define enoding at the top of

ajax-poller-cast-vote-php.php

Example:

header(' Content-Type: text/plain; charset=ISO-8859-1');

Change ISO-8559-1 to the one used for arabic( example: ISO-8859-06)