Advertisement

Encoding problem with the poller result

Moderators: Calcifer, slothy

Encoding problem with the poller result

Postby ameenov » Wed Nov 12, 2008 9:55 pm

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!!
ameenov
 
Posts: 1
Joined: Wed Nov 12, 2008 9:49 pm

Postby Batalf » Fri Nov 14, 2008 10:20 am

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)
Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm


Return to General questions regarding AJAX scripts

Who is online

Users browsing this forum: No registered users and 16 guests

cron