How to use quoted printable decode in PHP

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

quoted_printable_decode() function in PHP

The quoted_printable_decode() function is used to decode a quoted-printable string to an 8-bit string.

Syntax

quoted_printable_decode(string)

Parameter

  • string string is required parameter. It is determine for decode the quoted-printable string.

Example

The following example show to how the quoted_printable_decode() function can be used in PHP.

<html>

<body>

<h3 style="color: darkblue;">quoted_printable_decode() function example in PHP</h3>

    <?php

    $str = "C-sharp=0Acorner.";

    echo quoted_printable_decode($str);

    ?>

</body>

</html>

 

Output

quoted-printable-decode-php.gif
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
 

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.