473,406 Members | 2,954 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,406 software developers and data experts.

Umlaut in the Params of an ASP.NET page

Hi all,

When I try to get the parameter from an ASP.NET page, all characters with a
umlaut disappear. So when I request the following URL:
http://www.MyWebsite.com/MyPage.aspx?Name="Müller"

and I use the following C# code:

string Name = Request.Params.Get("Name");

then the variable Name results in Mller, the ü disappears.

In the MyPage.aspx I use:

<META http-equiv="Content-Type" content="text/plain; charset=iso-8859-1">

Can someone explain why the characters with a umlaut disappear and how I
can support this characters in the aspx webpage?

Thanks a lot!

Regards,

Reinier.

Mar 31 '06 #1
1 1919
On Fri, 31 Mar 2006 09:23:03 -0600, Reinier <NO****@PROV.COM> wrote:
Hi all,

When I try to get the parameter from an ASP.NET page, all characters
with a
umlaut disappear. So when I request the following URL:
http://www.MyWebsite.com/MyPage.aspx?Name="Müller" Can someone explain why the characters with a umlaut disappear and how I
can support this characters in the aspx webpage?

Thanks a lot!


make sure you encode the URL before using it in a browser...the following
is what it looks like:

/WebForm1.aspx?name=M%c3%bcller

use Server.UrlEncode in the .NET code if needed there

--
Craig
Microsoft MVP - ASP/ASP.NET
Mar 31 '06 #2

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

Similar topics

5
by: Lukas Kasprowicz | last post by:
Hi Folks, I have a string filled with much text converted from a tuple. when I try to do someting like this: exclusion = re.sub("\\xf6", "%F6", exclusion) # ö exclusion = re.sub("\\xfc",...
11
by: Jürgen Kahrs | last post by:
Hello, do you think that this file is a proper Unicode file? http://belnet.dl.sourceforge.net/sourceforge/ganttproject/ganttproject-example3.xml <?xml version="1.0" encoding="UTF-8"?> ......
3
by: Pekka Jarvela | last post by:
I am using Visual Studio C++ .NET and when I try to print words with umlaut letters, for instance printf("Pässinpää-ääliö"); letters with dots over them, äö, will not be printed correctly on...
1
by: shefali | last post by:
Hi, I have an aspx page with a web form. I need to change the page that this form posts to depending on certain conditions. To do so, I have Javascript code on the page that looks like: ...
0
by: Mihaly | last post by:
Hello, i'm using a VC++ com+ object, it's reference in vs .net, this com object have a function that have to params, the interop com object recive Object Params and the original com object say...
0
by: dario | last post by:
sometimes i put params in hyperlink, and i expect them do disappear with further requests (Server.Transfer or Response.redirect), but they stay there and mess up my logic. for example, user gets...
2
by: Coneection OLAP | last post by:
Hi: Me question is the next: I would like know how, I can do it to pass params, from a control of a page ASPX to other page ASPX, but I don't want that this params can see in the URL, ...
2
by: andy6 | last post by:
I have the ods calling the business object. This is the method it is calling public DataTable GetEditManager(string tab, string state, int rows, int pageselected, int nbrpages, string sort, byte...
11
by: cody | last post by:
Is there a method to replace special characters like Ä (A-Umlaut) with A, Ö (O-Umlaut) with O, and so on? Sure, I could look for each character separately and replace it with its...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.