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

  • Home
  • SEARCH
  • 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 1064471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:56:40+00:00 2026-05-16T18:56:40+00:00

I have unicode characters in MySQL tables. I will print the data in the

  • 0

I have unicode characters in MySQL tables. I will print the data in the web pages. While printing it in the pages I am generating the ‘Share This’ buttons dynamically to share each record in that table (which is in Punjabi).

So the output in the page looks fine. But while sharing the same content in ‘Share This’ the destination page shows some unknown characters. Later I found that the data sent across the websites should be in Unicode Entity format (like ਆ this will print this ‘ਆ‘).

Now my tables have the values like ਜ ਝ ਞ ਟ ਠ ਡ ਢ.

I want to convert these data like ਜ ਝ ਞ ਟ ਠ ਡ ਢ in PHP.

Please help me in this.


The above issue fixed. But the Share This is still making issues while displaying the Unicode characters. Below is the output in the browser.

<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>`
<script type="text/javascript">
stLight.options({
    publisher:'12345'
});
</script>
<span class="st_facebook" st_title="ੴਸਤਿ ਨਾਮੁ ਕਰਤਾ ਪੁਰਖੁ ਨਿਰਭਉ ਨਿਰਵੈਰੁ ਅਕਾਲ ਮੂਰਤਿ ਅਜੂਨੀ ਸੈਭੰ ਗੁਰ ਪ੍ਰਸਾਦਿ ॥" st_url="http://sitelink/"></span>

Thanks in advance,
Abu Sithik

  • 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-16T18:56:40+00:00Added an answer on May 16, 2026 at 6:56 pm

    You should probably use url_encode the text when outputting the href of your <a> tag.

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

Sidebar

Related Questions

I'm re-designing a Web site and I have a problem with the existing data
I have two physically-separate MySQL databases on which I have to run a single
I am trying to get UTF-8 encoding working with CKEditor/PHP/MySQL/HTMLPurifier. I have converted the
I have a table with a field which contains strings in my MySQL database.
I'm still learning the ropes with PHP & MySQL and I know I'm doing
(NOTE: This question is not about escaping queries, it's about escaping results) I'm using
I have a (Wordpress) blog and some of my older posts have a character
I've been pulling my hear out over this problem for a few hours yesterday:
Hey guys I am having trouble trying to convert my web app to support
I would like to make sure that everything I know about UTF-8 is correct.

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.