tanni Posted February 24, 2007 Share Posted February 24, 2007 Hi! First of all - Im pretty new to this - In norway we use three letters - æøå - pretty commonly used. The problem I got is that when I request a page thru sajax theese letters will not show.. only unreadable code ø = � I have allready made sure my sajax.php file is set to handle this - i guess.. x.setRequestHeader("Content-Type", "text/javascript; charset=latin1"); and support for encodeURIComponent( but I think my problem is more related to the way I use ajax.. I call a page by using a link; <a href=\"#\" onClick=\"showSelected(".$some_id.",".$some_data.",".$path_to_shown_page."); document.getElementById('txtActionMessage').innerHTML=''; location.href='#top';\">Click here to edit something</a> The requested page will open wherever I put; <div id=\"txtActionMessage\"></div> This works perfect with english letters - anyone know how I can get æøå vissible? All help would be appriciated! Link to comment https://forums.phpfreaks.com/topic/39965-ajax-tag-language-problem/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.