473,396 Members | 1,714 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,396 software developers and data experts.

UrlDecode problem with accent character, will not decode to be an accent

1
Hi,

Stumped on what should be easy !
I have some text coming from a web application that needs to be decoded.
To keep it mega simply I would expect that something
like V%E9los to decode as Vélos , i.e, produce a French accent.
However, it instead produces a corrupt character or blackened question mark.
The code is as simple as

string testStr = "V%E9los";
string retStr = System.Web.HttpUtility.UrlDecode(testStr);

retStr returns the string with the problem.
I have tried this by passing in an Encoding constant of UTF8 but it has the same effect.

Any ideas ?
Mar 10 '14 #1
0 1068

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Jonathan | last post by:
I've tried: char ch; ifstream fin("today.txt"); // open input file while (fin.get(ch)) { if (ch == "z") cout << ch;} fin.close(); but get the error
0
by: Stefano Giannone | last post by:
Hi, I've problem with some character input by the user into a web form. The requestEncoding and responseEncoding are set to "iso-8859-1", but some character truncate the request (I see this...
2
by: Geoffrey | last post by:
Hello, Is it possible to have a constant String initialised with special character like that = (Char)0x02 + "CMD" + (Char)0x03 ? Thx
2
by: Ryan Liu | last post by:
Hi, What is the best practise to sove this problem: property with defalut value will not be called in auto-generated code ? for example
0
ekekakos
by: ekekakos | last post by:
Hello, I am having a serious and urgent problem with the character settings of an oracle database. The database is sitting in a solaris unix server and when we run the env command we have the...
14
by: JimN1 | last post by:
Hi, I am getting the following error message when I execute my query. I am trying to get my results in XML Explicit format. The error message is:Name cannot begin with the '.' character, hexadecimal...
5
by: herman | last post by:
How can I replace all occurrences of a character with another character in std string? For example, I want to replace '/' with '+' in my std::string I have looked at the replace() method in...
1
by: =?Utf-8?B?UGF1bCBQaGlsbGlwcw==?= | last post by:
I have read many things about this but I haven't got a clear vision on what to do if anything about this. I have a system that tries to find holes in my web site. One of the things it has...
6
by: SchoolOfLife | last post by:
Does an object in C++ of std::string type terminates with null character? The charater string literals in C++ (to maintain backward compatibility with C) end with a null character. Is this same with...
1
by: deego | last post by:
I need to compare two strings in a word document i work it out for alphabetic and numeric values but it is not able to compare a string which contains some special characters like (Máceres-Cartínez)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.