URGENT-charset problem with AJAX HELP!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • r_o
    New Member
    • Jul 2006
    • 35

    URGENT-charset problem with AJAX HELP!!

    hi all,
    i have a new problem now i'm quick huh :D
    well what can i say im still a beginner
    the thing is im using ajax to replace a drop down list with another inside a div
    upon a choice made by the user.The problem is with the charset,
    see in the main page the one that calls the ajax code, data is displayed as it should be,
    but when the ajax code calls the server side script and replaces the drop down list, foreign characters are replaced with ???? in IE and **** in FireFox

    hepl please!!
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    You need to use html entiries to display foreign characters, for instance to display

    é

    you need to put

    é

    into the html code

    see this site for more entities

    A description of entities and numeric character references in HTML 4.

    Comment

    Working...