How to use utf8 decode in PHP

In this article I will explain how the utf8_decode() function can be used in PHP.
  • 2570

XML Parser function in PHP

  • XML is the eXtensible Markup language.
  • XML is a data format for standardized structured document interchange on the web.
  • XML extension uses the Expat XML parser.
  • Expat XML parser is an event-based parser, it displays an XML document as a series of events.
  • Expat XML parser calls a specified function to handle it, When an event occurs.
  • Expat XML parser is a non-validating parser, and ignores any DTDs linked to a document. However,
  • Expat XML parser will end with an error message, if the document is not well formed
  • Expat XML parser is fast and well suited for web applications.

utf8_decode() function in PHP

  • The utf8_decode() function is used to decode a UTF-8 string to ISO-8859-1.
  • The utf8_decode() function decodes a string, previously encoded with the utf8_encode() function, back to ISO-8859-1.
  • The utf8_decode() function returns the decoded string on success.
  • The utf8_decode() function returns FALSE on failure.




  • string string is required parameter. it is specify for decode to the string.


You may also want to read these related articles here
Ask Your Question 
Got a programming related question? You may want to post your question here
© 2020 DotNetHeaven. All rights reserved.