Last active
January 14, 2020 19:30
-
-
Save lroman242/8ce67888e697e13a6225e88b53a0948a to your computer and use it in GitHub Desktop.
medium json_codeblock 14
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
$decoded = urldecode("%EF%F2%E8%F6%E0"); | |
$utf8 = utf8_encode($decoded); | |
echo json_encode($utf8); | |
// "ïòèöà" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment