Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

Spanish characters in string not displaying.

I cannot get spanish characters to correctly pass from a string.  Any suggestions?

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<%
strString="ü"
Response.Write strString
%>

Open in new window

0
Hoss7
Asked:
Hoss7
1 Solution
 
LIONKINGCommented:
I think that you need to use the html code to avoid any problems with spanish characters.

Check this out: http://tlt.its.psu.edu/suggestions/international/web/codehtml.html
0
 
sammySeltzerCommented:
or try this:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" lang="es">


0
 
Hoss7Author Commented:
LIONKING, your suggestion would work but I should have provided more detail in the question.  The string will be created via a form textarea submission so the end user will be submitting the actual character instead of the ascii codes.  I'm hoping to replace the actual character in the string with the proper ascii code using a replace function.

sammySeltzer, your suggestion appears to have worked. thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now