rfc:remove_utf_8_decode_encode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rfc:remove_utf_8_decode_encode [2016/08/15 03:12] – created yohgakirfc:remove_utf_8_decode_encode [2022/02/20 18:53] (current) – forward link imsop
Line 1: Line 1:
-====== PHP RFC: Remove utf8_decode() and utf8_encode() ======+====== PHP RFC: Deprecate utf8_decode() and utf8_encode() ======
   * Version: 0.9   * Version: 0.9
   * Date: 2016-08-15   * Date: 2016-08-15
   * Author: Yasuo Ohgaki <yohgaki@ohgaki.net>   * Author: Yasuo Ohgaki <yohgaki@ohgaki.net>
-  * Status: Under Discussion+  * Status: Abandoned; succeeded by [[rfc:remove_utf8_decode_and_utf8_encode]]
   * First Published at: http://wiki.php.net/rfc/remove_utf_8_decode_encode   * First Published at: http://wiki.php.net/rfc/remove_utf_8_decode_encode
  
Line 34: Line 34:
  
   * Document utf8_decode() and utf8_encode() deprecation now.   * Document utf8_decode() and utf8_encode() deprecation now.
-  Remove utf8_decode() and utf8_encode() from PHP 7.2.+ 
 +'' 
 +Use of utf_*() is deprecated in favor of generic encoding conversion functions 
 +Use mbstring, iconv or intl module feature to convert character encoding.'' 
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
  
-Programs use utf8_decode() and utf8_encode() for ISO-8859-1 to/from UTF-8 conversion must use other encoding conversion function available. e.g. mb_convert_encoding()+Programs use utf8_decode() and utf8_encode() for ISO-8859-1 to/from UTF-8 conversion should use other encoding conversion function available. e.g. mb_convert_encoding()
  
 ===== Proposed PHP Version(s) ===== ===== Proposed PHP Version(s) =====
  
-  * 7.1 - Remove utf8_decode() and utf8_encode() +  * None
  
 ===== RFC Impact ===== ===== RFC Impact =====
Line 67: Line 71:
  
 ===== Future Scope ===== ===== Future Scope =====
-None+ 
 + * Remove or alias functions in the future.
  
 ===== Proposed Voting Choices ===== ===== Proposed Voting Choices =====
Line 77: Line 82:
 </doodle> </doodle>
  
-Vote starts: 2016/08/22+Vote starts: 2016/09/10
  
-Vote ends: 2016/08/29 23:59:59 UTC+Vote ends: 2016/09/20 23:59:59 UTC
  
  
 ===== Patches and Tests ===== ===== Patches and Tests =====
  
-TDB. Just functions removal. No patch.+ * N/A
  
 ===== Implementation ===== ===== Implementation =====
rfc/remove_utf_8_decode_encode.1471230753.txt.gz · Last modified: 2017/09/22 13:28 (external edit)