PHP 8.4.24 Released!

Voting

: min(five, nine)?
(Example: nine)

The Note You're Voting On

za at byza dot it
18 years ago
Trouble when using files with different charset?

htmlentities and html_entity_decode can be used to translate between charset! 

Sample function:

<?php
function utf2latin($text) {
   $text=htmlentities($text,ENT_COMPAT,'UTF-8');
   return html_entity_decode($text,ENT_COMPAT,'ISO-8859-1');
}
?>

<< Back to user notes page

To Top