Doc #75174 [Opn->Csd]: translation on php.net
| From: | kovtun dot anton at gmail dot com | Date: | Fri, 08 Sep 2017 11:49:51 +0000 |
| Subject: | Doc #75174 [Opn->Csd]: translation on php.net | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14960@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75174&edit=1
ID: 75174
User updated by: kovtun dot anton at gmail dot com
Reported by: kovtun dot anton at gmail dot com
Summary: translation on php.net
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
Operating System: Any
PHP Version: 7.1.9
Block user comment: N
Private report: N
New Comment:
Sorry. Did not realise that any one can edit php.net
Previous Comments:
------------------------------------------------------------------------
[2017-09-08 11:34:16] kovtun dot anton at gmail dot com
Description:
------------
As far as I understand here we have a translation problem
http://php.net/manual/ru/language.types.string.php#example-53
For now result of the test is
Символ Ñ Ð¸Ð½Ð´ÐµÐºÑом -2 Ñавен n.
Ðзменение Ñимвола на
позиÑии -3 на 'o' даеÑ
ÑледÑÑÑÑÑ ÑÑÑокÑ: ÑекÑÑпÑ
but I assume that it should be
Символ Ñ Ð¸Ð½Ð´ÐµÐºÑом -2 Ñавен n.
Ðзменение Ñимвола на
позиÑии -3 на 'o' даеÑ
ÑледÑÑÑÑÑ ÑÑÑокÑ: strong
Test script:
---------------
<?php
$string = 'string';
echo "Символ Ñ Ð¸Ð½Ð´ÐµÐºÑом -2 Ñавен
$string[-2].", PHP_EOL;
$string[-3] = 'o';
echo "Ðзменение Ñимвола на
позиÑии -3 на 'o' даеÑ
ÑледÑÑÑÑÑ ÑÑÑокÑ: $string.", PHP_EOL;
?>
Expected result:
----------------
Символ Ñ Ð¸Ð½Ð´ÐµÐºÑом -2 Ñавен n.
Ðзменение Ñимвола на
позиÑии -3 на 'o' даеÑ
ÑледÑÑÑÑÑ ÑÑÑокÑ: strong
Actual result:
--------------
Символ Ñ Ð¸Ð½Ð´ÐµÐºÑом -2 Ñавен n.
Ðзменение Ñимвола на
позиÑии -3 на 'o' даеÑ
ÑледÑÑÑÑÑ ÑÑÑокÑ: ÑекÑÑпÑ
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75174&edit=1