Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 799561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T23:08:53+00:00 2026-05-14T23:08:53+00:00

During my file upload process, I found illegal character getting saved in Table. zurück.pdf

  • 0

During my file upload process, I found illegal character getting saved in Table. zurück.pdf, C _Word.doc were the file names. Here ü, space between C and _Word was found as ? in the Table Column. I have validate the filename in client side by replacing non-alpha numeric values by _ (underscore), but still it escapes and persist into DB. How can these handled in Client side?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T23:08:54+00:00Added an answer on May 14, 2026 at 11:08 pm

    As a native german speaker, I can assure you that neither ‘ü’ nor ‘ ‘ are illegal characters.

    Which character encoding does your data table use and what do you do on the client side to guarantee that all characters fall into the valid range?

    If your database supports only ASCII characters (and cannot be changed), then you should be using System.Text.ASCIIEncoding which replaces all non-ASCII characters with ‘?’ for you.

    Better yet, escape the Unicode characters and represent them in some way that is compatible with the ASCII character set, e.g., use ‘\u9404’, to represent Unicode character 9404, see RFC5137 for some methods of doing this and read the answers to Convert a Unicode string to an escaped ASCII string.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am uploading a large file by SFTP over Jsch. During the upload process,
Anyone know why HttpWorkerRequest.GetBytesRead() always returns 0, even during and after a file upload?
What really happens to the currently executing request in IIS during a file upload,
I want to make sure that during file upload time, only the file of
Using the uploadprogress plugin to show the Progress Bar during file upload and try
Doing a file upload to an aspx page from C#. Getting a: PathTooLongException The
I've tried updating my application's .config file during installer ( via a .NET Installer
I am adding elements to an XML file during installation using the XmlFile element:
I have a custom NSWindowController subclass that loads a NIB file during initialization like
I am trying to run a batch file automatically during a build from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.