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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:44:51+00:00 2026-05-16T02:44:51+00:00

test.php – Using regular IDE(phpDesigner7) <head> <meta http-equiv=content-type content=text/html; charset=iso-8859-1 /> </head> <body> <?php

  • 0

test.php – Using regular IDE(phpDesigner7)

<head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
</head>
<body>

<?php
      echo "بوغاليا";
?>

</body>
</html>

output : ???????

test.html – Using regular IDE(phpDesigner7)

<head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
</head>
<body>
بوغاليا
</body>
</html>

output : ???????

test.html – Using Arabic Pad

<head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
</head>
<body>
بوغاليا
</body>
</html>

output : بوغاليا

hello.php – Using Arabic Pad

<?php 
 echo "Hello";
 ?>

output : Nothing

I am running a local WAMP(PHP 5.3). From this.
I have tried saving these pages with : charset=utf-8 as well on both the programs with no luck.

I know for fact that my IDE can’t handle special characters and the other program that Can handle special characters can write workable HTML but if PHP files are written in it, It will not work. I know this is an encoding issue(in the IDE and while displaying the pages).

How does one go about displaying special characters with PHP code, I have large chunks of this arabic text that needs to be displayed.

Do you know how is this done?

Thanks! 🙂

  • 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-16T02:44:51+00:00Added an answer on May 16, 2026 at 2:44 am

    Why are you setting your charset to iso-8859-1? That’s Latin-1. You can’t render non-Latin characters in Latin-1.

    Try using UTF-8 instead.

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

Sidebar

Related Questions

Page1 : test.php (open in popup) <script type=text/javascript> function addFiles(aFiles) { if ($('#addfiles').length==0) $('#addfiles').html;
I need to get the content from url ( http://myweb.com/test.php ) using Google Web
I have a page, test.php, with the following code: <html> <body> <form> <script type=text/javascript>
I have a button on a file test.php <?php $url=http://.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; ?> <input type=button name=btn
I have a text field have value http://localhost/Send/test.php?s/?a=1&o=2 . Another three text boxes. If
I have a file test.php with the following code: <html> <head> <title>Listing 10.2 </title>
test.php code: $path = 'audio.mp3'; header(Content-type: audio/mpeg); header('Content-Transfer-Encoding: binary'); header('Content-Disposition: inline; filename='.$path.''); header(Content-length: .filesize($path));
test.php code: $fileloc = 'audio.mp3'; header('Content-type: audio/mpeg'); header(Content-disposition: inline; filename=$filename); header('Content-Length:'.filesize($fileloc)); readfile($fileloc); html code:
test.html <html> <!-- Please see the full php-ajax tutorial at http://www.php-learn-it.com/tutorials/starting_with_php_and_ajax.html If you found
test.php file echoes some greek letters for testing <head> <meta charset = UTF-8 />

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.