Solved

Spanish characters in string not displaying.

Posted on 2011-09-02
3
305 Views
Last Modified: 2012-05-12
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
Comment
Question by:Hoss7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Expert Comment

by:LIONKING
ID: 36475140
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
 
LVL 29

Accepted Solution

by:
sammySeltzer earned 250 total points
ID: 36475142
or try this:

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


0
 

Author Comment

by:Hoss7
ID: 36489662
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question