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 8384821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:30:28+00:00 2026-06-09T17:30:28+00:00

My ASP.NET website has a Linq-To-Sql database connected with a connection string to an

  • 0

My ASP.NET website has a Linq-To-Sql database connected with a connection string to an SQL 2008 DB.
Locally, when using an MDF file, everything worked fine. I had a “loader” method, looping though files (only once, via admin panel), parsing them and adding to the database. They contain Unicode Hebrew text. I had done this locally. Then, my local website would print out the correct Unicode Hebrew characters to the HTML document. My whole website is in Hebrew.

With the connection string provided by my shared hosting provider, dumping the SQL DB (without data!) to an sql, executing on server & loading it up from the files, I start seeing question marks (???) instead of Hebrew characters (the website itself, which is in Hebrew shows up correctly). The SQL database has text type fields.

The more funny thing is, that it has been working for some time correctly before showing up question marks (!).

How can I make the Hebrew characters show up correctly? Thank you!

  • 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-06-09T17:30:30+00:00Added an answer on June 9, 2026 at 5:30 pm

    The text data type in SQL server represents:

    Variable-length non-Unicode data in the code page of the server and with a maximum string length of 2^31-1 (2,147,483,647). (emphasis mine)

    So, because GoDaddy has a different code page on the server than you do, the unicode chars are getting mangled. text was never meant to contain unicode.
    You need to use nvarchar(max) instead.

    As DJ Kraze correctly noted, prefixing your strings with N might also be necessary (I thought it might help to add the explanation). But since you are using LINQ to SQL, that’s not the problem in your case (good catch @Jon Hanna, I missed that tag).

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

Sidebar

Related Questions

I'm using linq to sql for MySql (using DbLinq) in an ASP.NET MVC website.
We have a data driven ASP.NET website which has been written using the standard
I have an ASP.NET website that has been deployed since 2008 with plenty of
I am helping my daughter build an asp.net website that has an Access database.
I just created a basic ASP.NET website using Microsoft's walkthrough here . It has
I have an ASP.Net website which has a remember me feature for Login page.
I've got a simple ASP.NET MVC website. It has Debug, Testing and Release configuration
I have a website developed in ASP.NET and VB.NET which has a place for
We have a ASP.NET website project. In the past, we had been using asmx
I have an asp.net website that has been running well in IIS 6.0. I

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.