From e2e1b262518f64ff0bb2ac21a23cdcb911682ef5 Mon Sep 17 00:00:00 2001 From: yjogol Date: Fri, 9 Sep 2011 18:33:03 +0000 Subject: [PATCH] nhttpd: exchange encode with outValur for right UTF-8 in file API name field. Used by WebKit. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1686 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/nhttpd/tuxboxapi/coolstream/controlapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp index faa91ec63..7e93fde6f 100644 --- a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp @@ -2712,7 +2712,7 @@ void CControlAPI::FileCGI(CyhookHandler *hh) { while ((entry = readdir(dirp))) { std::string item = ""; item += hh->outPair("name", - hh->outValue(encodeString(entry->d_name)), true); + hh->outValue(hh->outValue(entry->d_name)), true); std::string ftype; if (entry->d_type == DT_DIR) ftype = "dir";