-
special character issue in AJAX
Hi,
iam faceing some special character issue in ajax call.
iam are trying to return some special character (ñ,á,é,í,ó,ú,¡,¿,Ñ,Á,É,Í,Ó,Ú ) from the servlet.
before returning the string iam encoding the string to UTF-8 foramt.(i tried encoding with IS0-8859-1, which not even allows the xml to be load in javascript).
but when i receive the responods string in javascript the spacial characters gettnig colabsed.(some character getting converted to '?' symbol)
can someone tell us is ther any work around for this??
Thanks in advance
regards
Sukumar
-
If you're using ASP, include the following in your result ASP page:
<% Response.AddHeader "Content-Type", "text/html;CHARSET=iso-8859-1" %>
Similar Threads
-
Replies: 0
Last Post: 02-09-2006, 01:26 PM
-
Replies: 6
Last Post: 10-20-2005, 10:28 AM
-
By Russell Jones in forum ASP.NET
Replies: 0
Last Post: 02-28-2003, 11:10 AM
-
By robbie in forum ASP.NET
Replies: 0
Last Post: 02-26-2003, 09:30 PM
-
Replies: 0
Last Post: 10-18-2001, 07:21 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|