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
Need VBA for Word code for AutoOpen, for "Use xyz font if available, else use Arial"
New blank document has blue background
Exchange 2007 Transaction Logs
vbscript window open
Google AJAX APIs
House keeping
Added new domain controller and Netlogon and sysvol are not shared.
Folders visible but no Files
Replacing html element inside javascript
iSeries Access for Windows won't restart after closing it unless I manually kill its processes