Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP utf8_encode — Converts a string from ISO-8859-1 to UTF-8

<?php
// Convert the string 'Zoë' from ISO 8859-1 to UTF-8
$iso8859_1_string = "x5Ax6FxEB";
$utf8_string = utf8_encode($iso8859_1_string);
echo bin2hex($utf8_string), "
";
?>
 
PREVIOUS NEXT
Tagged: #PHP #Converts #string
ADD COMMENT
Topic
Name
4+8 =