php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #70234 [ZH] Chinese Document Error!
Submitted: 2015-08-11 07:03 UTC Modified: 2015-08-15 14:43 UTC
From: heiing at qq dot com Assigned: laruence (profile)
Status: Closed Package: Translation problem
PHP Version: 5.6.12 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: heiing at qq dot com
New email:
PHP Version: OS:

 

 [2015-08-11 07:03 UTC] heiing at qq dot com
Description:
------------
http://php.net/manual/zh/function.rawurlencode.php 翻译错误,英文原文为“rawurlencode — URL-encode according to RFC 3986”,而中文为“rawurlencode — 按照 RFC 1738 对 URL 进行编码”,请更正 RFC 编号。在 http://php.net/manual/zh/function.urlencode.php 的返回值说明那一段,同样是错误的!

Expected result:
----------------
RFC3986

Actual result:
--------------
RFC1738

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-11 09:56 UTC] laruence@php.net
我看没问题啊:"根据 » RFC 3986 编码指定的字符。"
 [2015-08-11 09:56 UTC] laruence@php.net
-Status: Open +Status: Feedback
 [2015-08-12 11:16 UTC] heiing at qq dot com
-Status: Feedback +Status: Open
 [2015-08-12 11:16 UTC] heiing at qq dot com
有问题的,你看到的是【说明】以下的内容,我这里看到的是【说明】以上:
【rawurlencode — 按照 RFC 1738 对 URL 进行编码】

两个地方的描述是不一致的。

urlencode那页面的描述也是不对的:
【返回字符串,此字符串中除了 -_. 之外的所有非字母数字字符都将被替换成百分号(%)后跟两位十六进制数,空格则编码为加号(+)。此编码与 WWW 表单 POST 数据的编码方式是一样的,同时与 application/x-www-form-urlencoded 的媒体类型编码方式一样。由于历史原因,此编码在将空格编码为加号(+)方面与 RFC1738 编码(参见 rawurlencode())不同。】
 [2015-08-12 21:12 UTC] cmb@php.net
-Summary: Chinese Document Error! +Summary: [ZH] Chinese Document Error! -Package: Documentation problem +Package: Translation problem
 [2015-08-15 14:41 UTC] laruence@php.net
Automatic comment from SVN on behalf of laruence
Revision: http://svn.php.net/viewvc/?view=revision&revision=337481
Log: Fixed bug #70234 ([ZH] Chinese Document Error!)
 [2015-08-15 14:43 UTC] laruence@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: laruence
 [2015-08-15 14:43 UTC] laruence@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2015-08-15 14:46 UTC] laruence@php.net
Automatic comment from SVN on behalf of laruence
Revision: http://svn.php.net/viewvc/?view=revision&revision=337483
Log: Fixed bug #70234 ([ZH] Chinese Document Error!)
 [2020-12-30 10:47 UTC] nikic@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=doc/zh.git;a=commit;h=9051aa919ced1028eb51ab01ba4e5e411aae579e
Log: Fixed bug #70234 ([ZH] Chinese Document Error!)
 [2020-12-30 10:47 UTC] nikic@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=doc/zh.git;a=commit;h=9c6302e0ce83818bbeafe8268fd20e6e7a222ca8
Log: Fixed bug #70234 ([ZH] Chinese Document Error!)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 16:01:31 2024 UTC