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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:16:15+00:00 2026-05-17T23:16:15+00:00

I am a PHP Developer and Recently I develop a web site using PHP

  • 0

I am a PHP Developer and Recently I develop a web site using PHP and I connect to a Syabse Database using ODBC.

My database connection is ok and I can display the data in my web pages but I face a problem when arabic data is displayed as it is viewed as squares and not understanding symbols.

I can not change the Database language encoding and it is correct as some other arabic data is displayed well.

I tried the same configuration used in that web page but it does not work too.

I read many realted problems and I tried some solutions and I read about UTF-8, ISO, Windows and Unicode langauge Encodings and I tried to change the HTML Meta tag to display the arabic words but the problem is not solved.

I think my PHP file language Encoding itself may have a problem.
Can I change the PHP file language Encoding ? How to do that if it is possible ?

Is there any solution to dispaly Arabic coming from Database well in PHP web pages ? It is a boring problem 🙁

I will appreciate any hint or suggestion to solve that problem but please mention your reference and put and example if it is available.

Thanks in Advance…

  • 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-17T23:16:15+00:00Added an answer on May 17, 2026 at 11:16 pm

    Just changing the Meta tag isn’t enough.

    Assuming you want to change your environment to UTF-8, you need to make sure that the following is UTF-8 encoded:

    • The database tables
    • The database connection.
    • The page’s encoding (in the Meta tag, or preferably the content-type header)

    the PHP file’s encoding is irrelevant, unless it contains non-ASCII content itself. In that case, you need to adjust its encoding as well, usually in your IDE’s “Save as” dialog.

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

Sidebar

Related Questions

I recently read that php applications can be deployed on Google App Engine using
Being a web developer (php, symfony, doctrine) for 2 years now, I was recently
I've been a PHP developer but recently need to work on some project using
hi I am a php developer. Recently I got an old project using php5
Iam a web-developer and recently i have completed and launched a website (im using
I am good in web development but recently started using PHP and developed few
I have recently taken on a php web developer position for a large firm.
I've been a PHP Developer for a few years now and I've recently been
I am a PHP developer however I'm looking widen my skill set. Can anyone
I am a php developer with a few web apps like a project management

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.