Hello, I'm having some trouble with a £ sign, it's being displayed to the user as the <?> question-mark-in-a-black-diamond icon. I have an SQL Server database with a £ in a table. (Collation Latin_General_C1_AS which is analoguous to 8859-1) I have a PHP script which retreives this record without issue and can display it on a web page OK. This is with the PHP script file's encoding set to UTF-8 without BOM. The issue appears to be displaying the page in an AJAX request. var http = new XMLHttpRequest; ... document.getElementById('myDivElement').innerHTML = http.responseText; http.responseText appears to be treating the results …

Member Avatar
Member Avatar
+0 forum 2

hi, i am a newbie to ajax. i have created 2 html file in the following :- <<< a.html >>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=big5" /> <title>Admin Page</title> <script> function loadURL(cDiv, cURL, cGetPost, cParam) { var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById(cDiv).innerHTML=xmlhttp.responseText; } } xmlhttp.open(cGetPost,cURL,true); xmlhttp.setRequestHeader("Content-Type","text/html;charset=big5"); xmlhttp.send(cParam); } </script> </head> <body> <div id="page-container"><a href="#" onclick="loadURL('content_detail','b.html','POST','');return true;">click here</a></div> <div id="content_detail"></div> </body> </html> <<< b.html >>> <!DOCTYPE …

Member Avatar
Member Avatar
+0 forum 3

Dear All, I'm facing problem with the symbols while getting the data from the table.. My output contains these ( � ) type of symbols i don't know why these coming even i declared <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> Can any one having solution for this ? Thanks in advance..

Member Avatar
Member Avatar
+0 forum 6

Hi, I would like to know how to set a character set once and permanently, since when i alter the character_set% variables that are shown on 'show varables like 'character_set%', when i alter them the next day they are back with the old values? Thank you very much

Member Avatar
Member Avatar
+0 forum 2

Hi everyone! Im really stuggeling with excel. I do know how to import txt-files from web into excel, but when i do, the charset is wrong. So the Norwegian letters ÆØÅ is now wierd symbols (Ã¥Ã). This is not the case if im importing the text-file from a local folder. I cant find any option for this in excel. I have been searching for a way to change the import settings to UFT-8 charset. Do anyone have an idea what to do? Tord

Member Avatar
Member Avatar
+0 forum 1

Every once in a while I run into this problem and finally decided to consult the experts. :) I insert foreign characters (Czech letters) into my MySQL database and see them there. They look fine. But when I try to retrieve them using PHP they come out with question marks on my website. Can someone tell me how to fix this? I use the charset utf-8 on the website (the characters on my website are all Czech) and I tried changing the Collation of the columns to different charsets. Such as utf-czech_ci or utf-general_ci and they still come out with …

Member Avatar
Member Avatar
+0 forum 4

The End.