Index: modules/node/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.896
diff -u -p -r1.896 node.module
--- modules/node/node.module	24 Oct 2007 14:38:38 -0000	1.896
+++ modules/node/node.module	28 Oct 2007 05:02:40 -0000
@@ -698,8 +698,10 @@ function node_validate($node, $form = ar
   $type = node_get_types('type', $node);
 
   // Make sure the body has the minimum number of words.
-  // todo use a better word counting algorithm that will work in other languages
-  if (!empty($type->min_word_count) && isset($node->body) && count(explode(' ', $node->body)) < $type->min_word_count) {
+  // numWord remain an approximation, as there might not be complete support of 
+  // non latin spacing symbols in the pcre implementation
+  $numWord = count(preg_split("/[\s]+/", $node->body));
+  if (!empty($type->min_word_count) && isset($node->body) && $numWord < $type->min_word_count) {
     form_set_error('body', t('The body of your @type is too short. You need at least %words words.', array('%words' => $type->min_word_count, '@type' => $type->name)));
   }
