473,322 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Double Encoding Spanish

I'm having a problem with double encoding on my page which is localized
in both English and Spanish.

I try to set Image1.AlternateText = "BÚSCAR", and when the page
displays the alt attribute, it is double-encoded as
"BÚSCAR". So I try to run the string through
HttpUtility.HtmlDecode first, but AlternateText doesn't encode the
Acute-U. The alt attribute is "B`USCAR"

Is there a way to short-circuit AlternateText's incomplete encoding, so
it will actually display the character entity properly? Do I not need
to worry about the character encoding for spanish characters since the
page is in UTF-8?

Nov 19 '05 #1
1 1661
Chris Welch wrote:
I'm having a problem with double encoding on my page which is
localized in both English and Spanish.

I try to set Image1.AlternateText = "BÚSCAR", and when the page
displays the alt attribute, it is double-encoded as
"BÚSCAR". So I try to run the string through
HttpUtility.HtmlDecode first, but AlternateText doesn't encode the
Acute-U. The alt attribute is "B`USCAR"

Is there a way to short-circuit AlternateText's incomplete encoding,
so it will actually display the character entity properly? Do I not
need to worry about the character encoding for spanish characters
since the page is in UTF-8?


If you're using UTF-8 (as file encoding), you can use native characters
in your APSX files without problems.

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Richie Adler | last post by:
Does anyone know of a bitmap/resource/image collection for a Spanish card deck? I'm planning to create a new cardgame which requires this kind of deck (prototyping in Python and possible final...
2
by: Robert | last post by:
I would like to know how others are developing multilingual apps for US Spanish-speaking public. If an app is globalized and es-MX is used for the culture, won't the currency, dates, etc.. show...
0
by: Rocky | last post by:
I am looking for a legal copy of Microsoft Office 97 Developer Edition in Spanish. I have been developing with Access 97 Developer Edition in U.S. English for 5 years but am now translating a...
5
by: Hardy Wang | last post by:
Hi, I have following code: Encoding mode; // Encoding.Default or Encoding.UTF8 FileStream sb = new FileStream(fullPathAndFileName, FileMode.Create); StreamWriter sw = new StreamWriter(sb, mode);...
9
by: Mark | last post by:
I've run a few simple tests looking at how query string encoding/decoding gets handled in asp.net, and it seems like the situation is even messier than it was in asp... Can't say I think much of the...
3
by: leticia larrosa | last post by:
Hi, I try to read a file that have 8 bit character, but contain some character whose code is more than 128 (spanish character). When I read this file using ASCII (Dim oRead As StreamReader =...
3
by: Tulasi Kumar | last post by:
I am able to add my applicatoin to system tray. The problem I am facing here is.... I want add more number of instances (System tray Icons) of a single application to the system tray. At...
3
by: Joshua Stewart | last post by:
Hi, I am trying to characterise a problem I am seeing on our C#/C++ xml driven application. We have recently added some basic Spanish language support to our application, but it seems that there...
2
by: paragdi | last post by:
Hi Experts! I am developing heavy mathematical engineering windows application in VB.NET (VS2005) with MSAccess Db. This application has resource files in English, Spanish and German Language. I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.