Solved

Fileupload and special characters

Posted on 2011-02-24
2
688 Views
Last Modified: 2013-12-17
Hi.

In my aspx page i have following control:
<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="Button1" runat="server"  onclick="Button1_Click" Text="Button" />

In my aspx.cs:
protected void Button1_Click(object sender, EventArgs e)
{
}

If I upload a file named "blåvand", i get an error. How can I prevent this? The characters æ ø å is not allowed, I cant figure it out :) Please help
0
Comment
Question by:bongii
2 Comments
 
LVL 33

Accepted Solution

by:
Todd Gerbert earned 500 total points
ID: 34970230
Hmm, those characters work for me.  Where are you getting an error - on the client or server?  What is the actual exception/error message?
0
 

Author Comment

by:bongii
ID: 34970283
Hmm, it works now. The file must have been broken:) Sorry
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.net/WinForms: adjust Screen Resolution 6 40
Vb.net dynamic formulas in runtime 11 61
About delegates in c sharp 3 31
Error in script 11 45
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

911 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

19 Experts available now in Live!

Get 1:1 Help Now