PDA

View Full Version : Ajax Tabs Content Script Not Supporting RTL charset



alnadabi
12-14-2007, 01:54 PM
1) Script Title: Ajax Tabs Content Script (v 2.0)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm

3) Describe problem:

I am trying to use Ajax Tabs Content and load external pages with charset=windows-1256 Arabic

The problem is the result showing unreadable characters with too many small boxs (see attached file)


Aslo, you can see how the menu become messive and not orginaized I think this because I change the direction of the body tag to RTL

<body dir=rtl>


Note: I did changed the meta tag charset to windows-1256 :


<meta http-equiv="Content-Type" content="text/html; charset=windows-1256" />


But that did not help . also I tryed to insert that tag to the external page but aslo without postive result .


So any help how to load the exteranl page in some certain charset ?? and how to display the menu as RTL direction ??

Thanks in advance ,
AlNadabi

ddadmin
12-15-2007, 09:33 AM
This has to do with the encoding of the external page not being honored when it's being fetched via Ajax. o be honest I have yet to really look into a solution to this, but if you're up to it, here's a good article on language encoding and Ajax (http://www.taylanpince.com/blog/AJAX-and-Multibyte-Character-Support.html).