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
Active Directory Not Replicating to Multiple Domain Controllers
Convert SQL datetime to timestamp
SEO - back links versus two way links
IIS 6.0 Application Pool recycles itself every few minutes
Create 2003 AD replica test lab on virtual servers / different hardware
Convert UNIX_TIMESTAMP column into Datetime
Odd Printing
portal test environment - RAD 6.0
We cannot backup simultaneous Jobs.
using MMC on XP terminal to administer exchange mail boxes