Project

General

Profile

Bug #620 » fix_case_sensitive_search_non-english.patch

Patch - Frans Nilsson, 2012-04-21 17:08

View differences:

src/webui/extjs.c
23 23
#include <stdlib.h>
24 24
#include <string.h>
25 25
#include <stdarg.h>
26
#include <locale.h>
26 27

  
27 28
#include <arpa/inet.h>
28 29

  
......
46 47
static void
47 48
extjs_load(htsbuf_queue_t *hq, const char *script)
48 49
{
50
  setlocale (LC_ALL,"");	
49 51
  htsbuf_qprintf(hq,
50 52
		 "<script type=\"text/javascript\" "
51 53
		 "src=\"%s\">"
src/webui/simpleui.c
23 23
#include <stdlib.h>
24 24
#include <string.h>
25 25
#include <limits.h>
26
#include <locale.h>
26 27

  
27 28
#include "tvheadend.h"
28 29
#include "http.h"
......
67 68
  dvr_query_result_t dqr;
68 69
  const char *rstatus;
69 70
  epg_query_result_t eqr;
70

  
71
  setlocale (LC_ALL, "");
71 72
  htsbuf_qprintf(hq, "<html>");
72 73
  htsbuf_qprintf(hq, "<body>");
73 74

  
74
- 
    (1-1/1)