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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Tue Sep 17 01:01:29 2024 UTC