Microsoft
Software
Hardware
Network
Question : Special character not showing when using AJAX
Hi All,
I'm using Ajax to load content from a database into a DIV (so the page doesn't have to reshresh). The problem is, we have one particular issue. When you first click and the content is loaded, the letter é appears as a little sqaure, but once we refresh the page it appears as it should.
I'm assuming it's going something to do with the text being loaded isn't working because the content meta tag in the body of the page isn't being re-loaded. However, when you refresh the content is being loaded and put directly into the page rather than by using AJAX.
Is there anyway to resolve this issue?
Answer : Special character not showing when using AJAX
If you are calling the xmlHttp then,
Place- "header('Content-Type: text/html; charset=iso-8859-1');" in the file being called.
Good luck
MD
Random Solutions
Microsoft, Powershell, Windows Server 2008, trying to modify a local user, getttting "Exception calling "SetInfo" ...( Exception from HRESULT: 0x8007007B)"
Kernel update broke NVIDIA driver
Problem with PDF files with disabled print option
How to generate SQL update statement with MS Access 2007
ssh using cluster virtual ip address without "accept public key"
taking multiple lines of file at a time.............
Blank Screen for Joomla after copying site to SUBDOMAIN
Once in a while I am receiving this Microsoft error ?
viewing actionscript within .fla file
HELP! Cannot mount mail store after rebuild Exchange 2000 Server