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
SQL Anywhere ODBC Drivers
Network neigborhood
Auto-Reply to a message when received in a Public Folder
ActiveSync Exe Name
Server Side Application
How can I debug this JS error? (I get the stupid nondescript: "Microsoft JScript runtime error: Object expected" ...exception alert).
NTBackup not responding
Set Folder Permissions with xcacls
Moving personal folders to exchange account in Outlook 2003
hwconf and drivers...