rfc:remove_utf_8_decode_encode

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
rfc:remove_utf_8_decode_encode [2016/09/09 05:15] yohgakirfc:remove_utf_8_decode_encode [2017/09/22 13:28] – external edit 127.0.0.1
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
Line 34: Line 34:
  
   * Document utf8_decode() and utf8_encode() deprecation now.   * Document utf8_decode() and utf8_encode() deprecation now.
 +
 +''
 +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) =====
rfc/remove_utf_8_decode_encode.txt · Last modified: 2022/02/20 18:53 by imsop