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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:28:03+00:00 2026-06-10T01:28:03+00:00

Our programming team currently uses a database using Win1252 encoding, but the database is

  • 0

Our programming team currently uses a database using Win1252 encoding, but the database is also not very good at filtering out bad data natively.

Quite often the end users of our programs simply copy+paste their information from MSWord to insert into our database which leads to all kinds of funky characters appearing in our database that occasionally can’t be interpreted.

Are there currently any libraries out there that would parse a string encoded with MSWord’s native encoding and translate it to similar ascii, UTF8 or Win1252 format?

By similar, I mean translating strange double quotes that look something like “ into the typical “.

Please inform me if my question is vague at all so I can update as necessary.

  • 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-10T01:28:04+00:00Added an answer on June 10, 2026 at 1:28 am

    Ok, it appears that MSWord does use the Win1252 encoding – so I shouldn’t have too much of a hassle with saving copied+pasted text.

    There is always the chance that users will copy+paste from differently encoded sources so the problem still exists. The best answers I could find on the internet refer to creating an encoding (Encoding ANSI = Encoding.GetEncoding(1252)) and then setting a ‘fallback’ – a replacement character for characters who’s encoding is not recognized(ANSI.EncoderFallback = new EncoderReplacementFallback(string.Empty);).

    A helpful quote I found from another question from Stack Overflow was: “0x80 – 0x9F range in which the Windows-1252 code page differs from the ISO-8859-1 code page” which apparently is the origin for the majority of MSWord conversion problems.

    If anyone came to this question whom isn’t using a 1252 encoded database (which I hope is the case as 1252 is terrible). The main problem with MSWord is the ‘smart quotes’ which it automatically changes regular quotes to. There are numerous solutions to this problem which can be found easily by simply googling ‘smart quotes’.

    Hope this question/answer helps people with similar tedious problems that Microsoft throws at us.

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

Sidebar

Related Questions

We have a new build machine to start using for our programming team. We
Our company uses own (built in here) scripting language for programming, but they would
I'm still very new at programming, and our local SSIS genius isn't here today
I am setting up our (relatively small) programming team to work with source control.
For academic purposes, our essential team (me and a friend) is programming a tile-based
We have a user experience designer in our team who has no programming background.
my team uses SQL database for generating "daily active user" report the size of
In a project our team is using object lists to perform mass operations on
This is not a programming question but I feel SO is the right place
I am working on a Django project. And our team follows agile practices(TDD,very short

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.