Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 310
  • 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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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