How to Enable PHP 5.2.13 UTF8

There are a number of different encoding schemes used to display certain types of written characters on a computer screen. Choosing the proper encoding scheme is critical to the proper display of a website's content, especially when displaying foreign languages and special characters. Using UTF-8 encoding ensures compatibility with all Unicode characters and is backward compatible with the ASCII character set. UTF-8 is the primary encoding method for the World WIde Web.

Things You'll Need

  • Text editor
Show More

Instructions

    • 1

      Launch the text editor and then open the php.ini configuration file located on the web server.

    • 2

      Search the php.ini file for a line that begins with ";default_charset".

    • 3

      Replace the line from Step 2 with the following: default_charset = "utf-8"

    • 4

      Save the php.ini file and restart the Web server

Related Searches:

References

Comments

Related Ads

Featured