Last active
July 23, 2017 15:25
-
-
Save Bujhm/ba377f8b63f15f4e12d15a70972d5398 to your computer and use it in GitHub Desktop.
Декодим unicode символы просто
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// декодим Unicode ( \xc3\xa9 ) | |
$a = array("\xc3\xa9"); | |
echo "Unicode: ", json_encode($a, JSON_UNESCAPED_UNICODE), "\n"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment