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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T08:10:53+00:00 2026-06-06T08:10:53+00:00

I have a mysql database that has text stored in it with non encoded

  • 0

I have a mysql database that has text stored in it with non encoded special characters.
Example, there is are cells in a table that has text like Texas A&M

I want all of the text in my database to have it’s appropriate ascii form.
Example, Texas A&M should be Texas A&M.

It is a large database and I want to make sure all characters in this ASCII chart are accounted for and converted.

What is a good way to do this?

  • 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-06T08:10:56+00:00Added an answer on June 6, 2026 at 8:10 am

    You say you want to make sure all characters in “this ASCII chart”, but the charts there include all printable characters, so I don’t think you actually want to do what you are saying. Instead, you probably want to encode for XML, URL or HTML.

    The simplest way is to load the data into whatever XML processing tool you have and let it do the work. That said, I find that 99% of the time when people are storing “pre-encoded” data they aren’t actually wanting that: they want to encode the data for some output. It is far better to store data in its native form and then encode on use/output.

    The reason is simple: ever seen an application where the window titles look like "Installing X&Y Application"? It is because the data was perceived as “only being used for web output” and pre-encoded. But even then, web output is different in the HTML, URL and XML exchange contexts, so pre-encoded data really boxes you into one of these choices, rather than doing the right encoding at output time.

    If you actually want to do this though, you need to provide more details as to the environment you are using (actual database type and programming languages available).

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

Sidebar

Related Questions

I have a legacy mysql database and there's this table which has a few
I have a website that has approx 1000 different strings in a mysql database
I have a MySQL database, and a particular table in that database will need
I have some text stored in MySQL database like this Tom gave Sarah £5
Working with MySQL database. I have a store table. The store table has at
I have a MySQL table in which there are two columns , for text
I have a mysql database that is tracking hockey stats. What I'd like to
I have a MySql database that stores a timestamp for each record I insert.
I have a mysql database that looks like this: |id | city | created
The code below works great. I have a MySQL database that contains book titles

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.