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
Post back Url in C#
Installing OCX (EasyInk) for IE Mobile on Windows Mobile 5 PDS
Time synchronization
DNS Lookup Failed
EXCEL VBA - ADO for multiple datasets
Windows Mail will not shut down
Check exchange email from a remote location
Norton Ghost Image/Clone from master PC
Need good spam and virus solution for Exchange on SBS 2003
Outlook 2003. Update Outlook.ContactItem via VBA code.