Solved

Spanish characters in string not displaying.

Posted on 2011-09-02
3
304 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 28

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wordpress display sub menu only when click 12 88
Select only the top record in a left join 13 49
isNaN issue on the Table input text 2 38
Split on ASP 8 46
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…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 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