Microsoft
Software
Hardware
Network
Question : Reponse XML parsing error in Javascript
When I give alert(res.responseText) it shows this
My response XML is
sult val="t">
ob_locatio
n>cation>
b_id>4512<
/job_id>
mployment_
type>Perma
nentoyment_typ
e>
r_id>Job-1
44er_id>
_owner>San
garan Kannan
_contact_i
d>t_contact_
id>
t_name>ontact_nam
e>
1
472
>
r_id>62ob_owner_i
d>
<
job_title>
Sangaran éNew Job 2003-2008
status>Ope
n - Accepting Submittalsow>
ob_locatio
n>cation>
b_id>4512<
/job_id>
mployment_
type>Perma
nentoyment_typ
e>
r_id>Job-1
44er_id>
_owner>San
garan Kannan
_contact_i
d>t_contact_
id>
t_name>ontact_nam
e>
1
472
>
r_id>62ob_owner_i
d>
<
job_title>
Sangaran èNew Job 2003-2008
status>Ope
n - Accepting Submittalsow>
>sult>
In the Job title it has "
Sangaran éNew Job 2003-2008
" the special character is converted into UNICODE format to repsent in Javascript but even when i parse to get the values in job-title tag it shows job-title tag as NULL
Please let me where is the issue. I have set the DB encoding style as UTF-8 and my JSP rendering as UTF-8
Thanks in advacne.
Answer : Reponse XML parsing error in Javascript
Those are NOT "standard" xml entities. Instead of:
à ©
use their numeric equivalents:
à and ©
(NOTE: I removed the ending semicolon because this site will not display the code otherwise.
Random Solutions
how to stop AutoPlay in Flash movie?
Content editor webpart displaying incorrectly
Unable to send using SMTP
problem: loading sub external swf
What is "Home Folder" under the user profile tab mean?
Analysing traffic in a Netscreen 208 using command prompt
Query help
Need Product Key Viewer (Not as simple as using keyfinder)
SOHO VPN for Three Sites. Will Linksys RV routers work?
Delivery Status Notification (Delay)