-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=James Birkholz= wrote:
| When I use a wiki extension to pass "Grätz" to this function:
|
| function convertSpecialCharsForSearchStr( $input )
| {
| $output = $input;
| $output = ereg_replace("ä","%", $output);
| }
| The special character doesn't match anything in a reg ex, or a
| comparison operation (eg "if $input == "Grätz" fails the comparison,
| even though $input contains the string "Grätz").
Most likely, your wiki is in UTF-8 and you're editing your source files
in some 8-bit encoding.
- -- brion vibber (brion @
pobox.com)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
Comment: Using GnuPG with Thunderbird -
http://enigmail.mozdev.org
iD8DBQFB/X6ZwRnhpk1wk44RArM8AJ9dyx6H8iT6Z/pEF/Laueac2NjXegCeOogH
+nrc0L6yI4y/xwYzt2fEJDk=
=M1lo
-----END PGP SIGNATURE-----