Skip to content

Instantly share code, notes, and snippets.

@Bujhm
Last active July 23, 2017 15:25
Show Gist options
  • Save Bujhm/ba377f8b63f15f4e12d15a70972d5398 to your computer and use it in GitHub Desktop.
Save Bujhm/ba377f8b63f15f4e12d15a70972d5398 to your computer and use it in GitHub Desktop.
Декодим unicode символы просто
<?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