Hi!
I have a problem that I haven't seen before. The same regex is producing two different results on two different servers.
This is the code:
preg_replace('#[^\pL0-9_@-]#iu', '', '!%&abc123_æøå');
Result on server A (php 5.2.6, Server Api: Apache 2.0 Handler):
abc123_æøå
Result on server B (php 5.2.5, Server Api: CGI/FastCGI):
123_
Anyone with any ideas on why this difference is happening?