Bug #73908 [Fbk->Nab]: Invalid UTF-8 encoding
| From: | cmb@php.net | Date: | Sat, 11 Feb 2017 20:12:15 +0000 |
| Subject: | Bug #73908 [Fbk->Nab]: Invalid UTF-8 encoding | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-207273@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73908&edit=1
ID: 73908
Updated by: cmb@php.net
Reported by: bugsphpnet at atis dot id dot lv
Summary: Invalid UTF-8 encoding
-Status: Feedback
+Status: Not a bug
Type: Bug
Package: XMLRPC-EPI related
Operating System: Ubuntu 16.04
PHP Version: 7.1.0
-Assigned To: cmb
+Assigned To:
Block user comment: N
Private report: N
New Comment:
> PHP Version 7.1.1-1+deb.sury.org~xenial+1
This ticket has been closed, because obviously vanilla PHP is not
affected. A downstream bug report has also already been filed.
Please read the full bug before commenting. Thanks!
Previous Comments:
------------------------------------------------------------------------
[2017-02-11 20:06:32] unhold1799 at gmail dot com
> Which PHP version do you use?
PHP Version 7.1.1-1+deb.sury.org~xenial+1
Test on utf8-html docs
_________________________________________
before Update
#apcu_delete('try');
$arrayx = array(
"name" => utf8_decode("täst"),
"position" => utf8_decode("Gärtner")
);
apcu_store('try', $arrayx, 3600);
print_r(apcu_fetch('try'));
the output was
Array
(
[name] => täst
[position] => Gärtner
)
after update the output was
Array
(
[name] => t�st
[position] => G�rtner
)
now i have to change all scripts
#apcu_delete('try');
$arrayx = array(
"name" => "täst",
"position" => "Gärtner"
);
apcu_store('try', $arrayx, 3600);
print_r(apcu_fetch('try'));
the output is
Array
(
[name] => täst
[position] => Gärtner
)
the problem, all sessions with umlauts are no longer output correctly, which also results in a ===
test error.
------------------------------------------------------------------------
[2017-02-11 18:22:11] cmb@php.net
> Currently I also have problems with the utf8 function.
Which PHP version do you use?
------------------------------------------------------------------------
[2017-02-11 18:09:53] unhold1799 at gmail dot com
Currently I also have problems with the utf8 function.
Since the last update of php, utf8 encoded strings are no longer output correctly.
example:
Testaccount name "tdstuser1" outputs apcu and session t�stuser1 (t?stuser1)
String containing the umlaute included and before the update urgently had to be encoded, must now no
longer be coded!
------------------------------------------------------------------------
[2017-01-17 15:34:11] cmb@php.net
Thanks!
------------------------------------------------------------------------
[2017-01-17 15:21:05] bugsphpnet at atis dot id dot lv
Could not reproduce on vanilla php7, submitted downstream:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1657158
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=73908
--
Edit this bug report at https://bugs.php.net/bug.php?id=73908&edit=1