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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:12:06+00:00 2026-05-24T23:12:06+00:00

Background: For various reasons I’m creating a translation table in my sql server 2008

  • 0

Background:

For various reasons I’m creating a translation table in my sql server 2008 r2. (This question is not about whether that is a correct / good choice)
This table should store translation for languages like english, german, french. Languages like japanese or chinese might follow shortly.

The table is filled/update by a WinForms application and later shown to customers in an ASP.Net WebApplication.

I’m using the Entity Framework 4 with the Models first (creating entities in the designer to create an create script afterwards)

Now to the question:

How do I ensure the correct encoding for the save and read operations in the WinForms and the ASP.Net applications? How must the columnTypes in the database look like?

EntityFramework Designer

Apparently I can only use “String” as ColumnType in the EntitityDesigner. Chosing “String” in the designer will translate to nvarchar(max). Is that the correct columnType to store strings of different languages?

ConnectionString

I guess adding Charset=utf8; to the connectionString is also necessary.

ASP.Net

Setting utf-8 as output type in the ASP.Net application seems logic to me.

WinForms

Must I set anything else in the WinForms application? Do I need to call some encoding / decoding methods myself? If yes, which one and why?


Have I missed something? Do I need to configure something else?

  • 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-24T23:12:07+00:00Added an answer on May 24, 2026 at 11:12 pm

    nvarchar is correct. It stores data in unicode and you do not need to encode/decode anything if you are using utf-8 in your application.

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

Sidebar

Related Questions

I'm not good at putting up a question, feel free to reword/retag this to
I have a JPanel that is not part of a JFrame. For various reasons
Background A table ( equipment_group [eg]) includes various equipment categories: bakeware cookware kitchenware utensils
This is actually a Mahjong-based question, but a Romme- or even Poker-based background will
Has anybody done a comparison of the overhead of the various background processing techniques?
I'm using some semi-transparent PNGs as background-images on various websites. These are usually something
Background: Over the next month, I'll be giving three talks about or at least
Coming to Haskell from a background in various OO languages, one thing that seems
I'd like to use various APIs that are listed on this Unsupported APIs for
I've heard of the various background task tools (delayed_job, starling, workling, etc) but from

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.