Solved

Spanish characters in string not displaying.

Posted on 2011-09-02
3
300 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
3 Comments
 
LVL 13

Expert Comment

by:LIONKING
Comment Utility
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 28

Accepted Solution

by:
sammySeltzer earned 250 total points
Comment Utility
or try this:

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


0
 

Author Comment

by:Hoss7
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
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/…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now