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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:25:44+00:00 2026-06-12T23:25:44+00:00

The URL encoding of η is %CE%B7 . But in PHP I get some

  • 0

The URL encoding of η is %CE%B7. But in PHP I get some strange symbols when I write echo urldecode("%ce%b7");

Instead, if I write echo urlencode("η"); then I get %26%23951%3B. Why can’t I use %CE%B7?

Solution

The Problem is that we use typo3. It some how does not use unicode for internal processing. As soon as we set $TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8'; in typo3 the output of echo urldecode("%ce%b7"); was correct.

For why echo urlencode("η"); gives me %26%23951%3B see the answers of Joni.

  • 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-06-12T23:25:46+00:00Added an answer on June 12, 2026 at 11:25 pm

    urldecode("%ce%b7") produces η encoded in UTF-8. If you are viewing the output with some other encoding you may see something else.

    On the other hand, when you decode %26%23951%3B it’s true that you don’t obtain η; you obtain η which is a HTML entity code for η. To decode entity codes use html_entity_decode:

    echo html_entity_decode('η', false, 'UTF-8'); // prints η, encoded in UTF-8
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large url that I am encoding using System.Web.HttpUtility.UrlEncode. When I encode
I'm not much of a PHP expert. I'm encoding a URL with base64_encode .
I am making get request in PHP but the parser is having issues. I
salam i want to get some xml responses from a server but this server
How to get curl response properly using php curl. I tried to change some
Is there a URL encoding function in XSLT version 1? I need something similar
I noticed that Wikipedia uses percent encoding for the path section of a URL,
url : http://localhost/back-office/index.php/staff/shopping when i change the category on every onchange event i want
url.rewrite-once = ( .*\.(js|ico|gif|jpg|png|css|html)$ => $0, ^/([^?]*)(\?.*)?$ => /$1.php/$2, ) This is what I
I'm having some difficult with PHP DOM class. I am making a sitemap script,

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.