From 2b573acb6f34918db357cb32a389264a41eea38c Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 12 Jul 2005 12:27:55 +0000 Subject: [PATCH] Merged utf8 fix from stable --- filter/multilang/filter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter/multilang/filter.php b/filter/multilang/filter.php index 0d49cb448b9..72aa01d30b9 100644 --- a/filter/multilang/filter.php +++ b/filter/multilang/filter.php @@ -85,7 +85,7 @@ function multilang_filter_impl($langblock) { // Setup is done, now do multilang replacement on the match we 've been called for - $searchtosplit = '/<(?:lang|span) lang="([a-zA-Z_-]*)".*?>(.+?)<\/(?:lang|span)>/is'; + $searchtosplit = '/<(?:lang|span) lang="([a-zA-Z_-8]*)".*?>(.+?)<\/(?:lang|span)>/is'; preg_match_all($searchtosplit, $langblock[0], $langlist); /// Get the existing sections langs