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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:24:15+00:00 2026-05-31T16:24:15+00:00

Possible Duplicate: Encoding issue: £ pound symbol appearing as <?> symbol I am doing

  • 0

Possible Duplicate:
Encoding issue: £ pound symbol appearing as <?> symbol

I am doing some basic echo statements and when i use echo “£” it puts a capital A before the pound sign any ideas why?

 echo ("£"):

 output = A£

the A has a symbol above.

  • 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-31T16:24:17+00:00Added an answer on May 31, 2026 at 4:24 pm

    There are several ways to do this pragmatically:

    <?php
    echo chr(163);
    printf("%c", 163);
    echo "&pound;"; //preferred for HTML
    ?>
    

    Another way to do this more “manually” would be to save your files in UTF-8 encoding.

    See here for more information.

    Here’s a screenshot of the results:

    results

    As stated by primatology, if you’re going to be ouputting to HTML, make sure to include the proper encoding header for HTML. This should be inserted between your <head> tags.

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: PHP URL encoding retaining invalid url characters I use a form similiar
Possible Duplicate: XmlSerializer: remove unnecessary xsi and xsd namespaces I'm generating some XML using
Possible Duplicate: Determine a string's encoding in C# Many text editorsr (like Notepad++) can
Possible Duplicate: Opening url in new tab while i am doing window.open(), my page
Possible Duplicate: Detect file encoding in PHP How can I figure out with PHP
Possible Duplicate: How can I detect the encoding/codepage of a text file I've been
Possible Duplicate: How can I detect the encoding/codepage of a text file How Can
Possible Duplicate: Testing use of NSURLConnection with HTTP response error statuses This is bizarre;
Possible Duplicate: Calling a webservice that uses ISO-8859-1 encoding from WCF I am trying
Possible Duplicate: How to use UTF-8 in resource properties with ResourceBundle I want to

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.