Doc #70234 [Fbk->Opn]: Chinese Document Error!

From: Date: Wed, 12 Aug 2015 11:16:43 +0000
Subject: Doc #70234 [Fbk->Opn]: Chinese Document Error!
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12602@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70234&edit=1 ID: 70234 User updated by: heiing at qq dot com Reported by: heiing at qq dot com Summary: Chinese Document Error! -Status: Feedback +Status: Open Type: Documentation Problem Package: Documentation problem PHP Version: 5.6.12 Block user comment: N Private report: N New Comment: 有问题的,你看到的是【说明】以下的内容,我这里看到的是【说明】以上: 【rawurlencode — 按照 RFC 1738 对 URL 进行编码】 两个地方的描述是不一致的。 urlencode那页面的描述也是不对的: 【返回字符串,此字符串中除了 -_. 之外的所有非字母数字字符都将被替换成百分号(%)后跟两位十六进制数,空格则编码为加号(+)。此编码与 WWW 表单 POST 数据的编码方式是一样的,同时与 application/x-www-form-urlencoded 的媒体类型编码方式一样。由于历史原因,此编码在将空格编码为加号(+)方面与 RFC1738 编码(参见 rawurlencode())不同。】 Previous Comments: ------------------------------------------------------------------------ [2015-08-11 09:56:40] laruence@php.net 我看没问题啊:"根据 » RFC 3986 编码指定的字符。" ------------------------------------------------------------------------ [2015-08-11 07:03:17] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70234&edit=1

« previous php.doc.bugs (#12602) next »