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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:55:55+00:00 2026-05-16T05:55:55+00:00

I have a blob which holds HTML in it. Some of this HTML has

  • 0

I have a blob which holds HTML in it. Some of this HTML has foreign characters (ie: æ, ø, etc). I want to convert the BLOB into TEXT. I am using latin1 for my tables and changing this is not an option. From what I can tell, if if I store the foreign characters in TEXT, it is converted into something like ASCII. But if you store it in BLOB, it doesn’t, it stays as the foreign character.

So, how can I convert this BLOB data into TEXT adn convert the BLOBL data into the ASCII like versions for the special characters?

  • 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-16T05:55:56+00:00Added an answer on May 16, 2026 at 5:55 am

    Well, your blob holds binary data… so if it’s got text (HTML) in it, that text must have been encoded somehow. What encoding is it in?

    You’ll need to decode the text and then let mysql re-encode it as Latin-1. That will preserve some non-ASCII characters… but there are plenty of characters which aren’t part of Latin-1. You simply won’t be able to represent those correctly in Latin-1. If changing that is not an option, then accurately storing all Unicode characters as text isn’t an option either.

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

Sidebar

Related Questions

I have a result of a query which has BLOB column defined in it.
I have a database which has a number of files stored in a BLOB
I have a JPEG image (actually a BLOB in a database) which I want
I have a TSqlDataSet which has a blob field, I need to get the
I have some legacy XML documents stored in a database as a blob, which
I have some python code that: Takes a BLOB from a database which is
I have a blob, which I've got using: $blobData = $this->getBlobData(); $imageStream = stream_get_contents($blobData);
I have a database which contains picture data stored as a binary blob. The
I have a byte array of around 10,000 bytes which is basically a blob
I have a blob of HTML. How can I use jQuery to remove the

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.