detect_unicode in php

Posted on 2007-10-11
Last Modified: 2013-12-13
adding the detect_unicode directive to my php.ini file doesn't seem to make a difference to my phpinfo page. Basically it looks like my php install is missing a component or something for this to work. I can't seem to find any documentation on how to make this work.
Thanks for your help.
Question by:instillmotion
    LVL 17

    Expert Comment

    What is it that you want done?

    detect_unicode is an old directive that really isn't used anymore.
    LVL 7

    Author Comment

    This is what I concluded from reading a little documentation on the php website. However we have a client on insists on seing it enabled when he runs his phpinfo page. we're running PHP Version 5.1.6.
    Unfortunately i don't know enough about php programing to offer them an alternative, so I prefer to just find a way to set it up the way they're used to having it.
    LVL 17

    Accepted Solution

    Tell him that even if it is enabled, he wouldn't see that in the phpinfo(); page.
    Thats just the way it is. Find out what he wants, then I can tell you what to do.
    LVL 14

    Expert Comment

    Also add that PHP 5 has built-in unicode support, and they only need to save the code files (and other included files) in correct encoding (like utf-8). You can open a file with Notepad, and choose File > Save As... and save it again with the same name (overwrite the existing file) but with another encoding.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    These days socially coordinated efforts have turned into a critical requirement for enterprises.
    The viewer will learn how to dynamically set the form action using jQuery.
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now