|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-12-12 11:05 UTC] tony2001@php.net
[2006-12-13 11:11 UTC] stochnagara at hotmail dot com
[2007-01-01 16:04 UTC] didou@php.net
[2020-02-07 06:10 UTC] phpdocbot@php.net
[2020-02-07 07:30 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 01:00:01 2025 UTC |
Description: ------------ json_encode stops when it finds an accent in the string Reproduce code: --------------- <?php $title="nos succ?s"; $json = json_encode($title); header("Content-type: plain/text"); echo "title=$title\n"; echo "json=$json\n"; ?> Expected result: ---------------- title=nos succ?s json="nos succ?s" Actual result: -------------- title=nos succ?s json="nos succ"