Multiple replacements (WML/PHP)
| From: | Johan Mjönes | Date: | Tue, 17 Oct 2000 19:35:13 +0000 |
| Subject: | Multiple replacements (WML/PHP) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20695@lists.php.net to get a copy of this message | ||
Hello!
I need a little bit of help on multiple replacements. I'm developing a WAP-site which will use
the Swedish language (with ÅÄÖ), and I have noticed that most WML interpretors doesn't like
any kind of characters outside the a-z/A-Z scope.
I know that the &#<ASCII-num>; works for replacement (and that the normal HTML-way, e.g.
ä, doesn't work).
So, any suggestions on how I replace all characters in a string which are not in the normal
(a-z/A-Z) scope to the &#XXX; form (e.g. 'å' -> ä)?
best regards,
johan mjones