Are there other encoding choices for the wiki? Or should I just leave this
solution as it is?
At 04:40 PM 1/30/05, you wrote:
-----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)