php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #14399 eregi_replace does not handle upercase scandinavian characters
Submitted: 2001-12-10 05:39 UTC Modified: 2005-08-11 19:17 UTC
From: jonas at israelsson dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.1.0 OS: Linux
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: jonas at israelsson dot com
New email:
PHP Version: OS:

 

 [2001-12-10 05:39 UTC] jonas at israelsson dot com
It seem to be so that eregi_replace can?t handle 
uppercase scandinavian characters (???). 
Lowercase works fine.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-11 17:14 UTC] mfischer@php.net
Try setting your locale first with setlocale()

Feedback.
 [2001-12-20 15:10 UTC] jonas at israelsson dot com
i have tryed

setlocale("LC_ALL", "swedish"); 
setlocale("LC_ALL", "sv_SE"); 
setlocale("LC_ALL", "se"); 

none affects eregi_replace behaivor
If it was a localize problem why then would lowercase
caracters work ??

Kindest Regards 
Jonas Isaelsson

 [2005-08-11 19:17 UTC] nlopess@php.net
duplicate of #6680. BTW, you can always use the PCRE extension.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 12:01:30 2024 UTC