php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #12214 Additional param to ereg/eregi/ereg_replace/eregi_replace
Submitted: 2001-07-17 15:08 UTC Modified: 2010-12-14 11:50 UTC
From: ruslan2000 at mail dot com Assigned:
Status: Wont fix Package: *General Issues
PHP Version: 4.0.6 OS: windows 2000
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2001-07-17 15:08 UTC] ruslan2000 at mail dot com
Please add new param to 
ereg/eregi/ereg_replace/eregi_replace
which will specify the correct Enocoding of "string"
and allow to use this funnction with any encoding

EX:
string eregi_replace (string pattern, string replacement, string string [, int mode])

eregi_replace ("???", "%#&#", $header, CP_1251)

in connection with bug report #12176

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-14 11:50 UTC] jani@php.net
-Status: Open +Status: Wont fix -Package: Feature/Change Request +Package: *General Issues
 [2010-12-14 11:50 UTC] jani@php.net
Use the PCRE functions instead.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 04:01:27 2024 UTC