]> source.dussan.org Git - rspamd.git/commitdiff
Detect HAN unicode script.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 4 Nov 2014 12:32:49 +0000 (12:32 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 4 Nov 2014 12:32:49 +0000 (12:32 +0000)
src/lua/lua_task.c

index d190373dd1376c641535dc67de5f51c2d154ca75..35d7b5c63e071f9311a583c8f2c8ac6f647b1146 100644 (file)
@@ -2008,7 +2008,7 @@ lua_textpart_get_language (lua_State * L)
                "el",      /* G_UNICODE_SCRIPT_GREEK */
                "gu",      /* G_UNICODE_SCRIPT_GUJARATI */
                "pa",      /* G_UNICODE_SCRIPT_GURMUKHI */
-               "",        /* G_UNICODE_SCRIPT_HAN */
+               "han",     /* G_UNICODE_SCRIPT_HAN */
                "ko",      /* G_UNICODE_SCRIPT_HANGUL */
                "he",      /* G_UNICODE_SCRIPT_HEBREW */
                "ja",      /* G_UNICODE_SCRIPT_HIRAGANA */