From fa9a87039e14302a4d773feca9bfd55a9fb34e3c Mon Sep 17 00:00:00 2001 From: kelson42 Date: Tue, 21 May 2013 11:41:11 +0200 Subject: [PATCH] + fix encoding issue if search pattern not found --- src/server/kiwix-serve.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/kiwix-serve.cpp b/src/server/kiwix-serve.cpp index 933eaa5..cd3a2d5 100644 --- a/src/server/kiwix-serve.cpp +++ b/src/server/kiwix-serve.cpp @@ -254,7 +254,7 @@ static int accessHandlerCallback(void *cls, mimeType = "text/html; charset=utf-8"; } else { - content = "\nFulltext search unavailable

Not Found

There is no article with the title \"" + patternString + "\" and the fulltext search engine is not available for this content.

"; + content = "\nFulltext search unavailable

Not Found

There is no article with the title \"" + patternString + "\" and the fulltext search engine is not available for this content.

"; mimeType = "text/html"; httpResponseCode = MHD_HTTP_NOT_FOUND; }