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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:06:49+00:00 2026-05-11T13:06:49+00:00

I’ve got a table that is comprised of the following structure. CREATE TABLE [dbo].[tblData](

  • 0

I’ve got a table that is comprised of the following structure.

 CREATE TABLE [dbo].[tblData](     [ID] [numeric](18, 0) NOT NULL,     [QID] [varchar](25) NOT NULL,     [Data] [nvarchar](255) NULL,   CONSTRAINT [PK_tblData] PRIMARY KEY CLUSTERED     (       [ID] ASC,       [QID] ASC    )  ) ON [PRIMARY] 

In the above example, the column [data] has a mix of different languages inside of it. We collect this data via a website where we set the appropriate code page. I understand that the data that was inserted in to our table is whatever the code page was set to on the webpage at the time the data was collected. We have this info stored elsewhere.

Every language that we are using has been coming out of the table fine. For example, Chinese comes out and displays as we need it to. We are trying to dump this data to a Unicode text file. To be specific: ‘UCS-2 LE’ There is only one language that isn’t coming out and that is French. For some reason the normally accented characters are coming out completely wrong. What I’ve found is that the data (I hope) appears to be ‘stored’ as the wrong characters.

A colleague believes that this data is in the table probably correct and we just need to covert it to either to correct character set or the correct code page to display the data properly before we put the data in a UCS-2 LE text file.

Can anyone provide any insight in to my issue? Thank you!

Update: I found this: http://windowsitpro.com/windowsstorage/Article/ArticleID/14045/windowsstorage_14045.html – is this basically saying that what i need done can’t be done? I think what I’d like to do is slightly different but that cause be [false-]hope.

  • 1 1 Answer
  • 3 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. 2026-05-11T13:06:50+00:00Added an answer on May 11, 2026 at 1:06 pm

    Your colleague is correct. As the data is stored in a UNICODE data type the native language format should be preserved.

    What needs to happen is when you SELECT the data, you want to ensure that an appropriate collation is used for the user who executed the request i.e. their locale.

    Consult the following Books Online reference for using collations in SQL Server

    http://msdn.microsoft.com/en-us/library/ms144260(SQL.90).aspx

    Hope this helps. Cheers.

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

Sidebar

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need a function that will clean a strings' special characters. I do NOT
I'm trying to create an if statement in PHP that prevents a single post
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into

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.