added support for UTF-8
now the UTF-8 is a default charset git-svn-id: svn://ttmath.org/publicrep/winix/trunk@677 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -87,7 +87,7 @@ public:
|
||||
Fun::Who fun_who;
|
||||
Fun::Vim fun_vim;
|
||||
|
||||
typedef std::map<std::string, FunctionBase*> Table;
|
||||
typedef std::map<std::wstring, FunctionBase*> Table;
|
||||
typedef Table::iterator Iterator;
|
||||
|
||||
void Init();
|
||||
@@ -107,7 +107,7 @@ public:
|
||||
void SetTemplates(Templates * ptemplates);
|
||||
void SetNotify(Notify * pnotify);
|
||||
|
||||
FunctionBase * Find(const std::string & function_name);
|
||||
FunctionBase * Find(const std::wstring & function_name);
|
||||
Error CheckSpecialFile(const Item & item);
|
||||
void PrepareUrl(Item & item);
|
||||
void SetDefaultFunction();
|
||||
@@ -118,7 +118,7 @@ public:
|
||||
|
||||
// !! dac lepsze nazwy
|
||||
void ReadItemFilterHtml(Item & item);
|
||||
void ReadItemContent(Item & item, const std::string & content_type);
|
||||
void ReadItemContent(Item & item, const std::wstring & content_type);
|
||||
void ReadItemContentWithType(Item & item);
|
||||
|
||||
// if item.url is not empty and there is not a post variable "url"
|
||||
@@ -141,7 +141,7 @@ private:
|
||||
Templates * templates;
|
||||
Notify * notify;
|
||||
|
||||
std::string temp;
|
||||
std::wstring temp;
|
||||
HTMLFilter html_filter;
|
||||
|
||||
void CreateFunctions();
|
||||
|
Reference in New Issue
Block a user