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:
@@ -11,7 +11,7 @@
|
||||
#define headerfilecmslutemplateslocalefilter
|
||||
|
||||
|
||||
#include "../core/locale.h"
|
||||
#include "locale.h"
|
||||
#include "ezc.h"
|
||||
|
||||
|
||||
@@ -25,19 +25,19 @@ public:
|
||||
|
||||
private:
|
||||
void ReadKey();
|
||||
std::string & FilterValue(const std::string & in);
|
||||
void FilterText(Ezc::Pattern::Item & item);
|
||||
void Parse(std::string & str);
|
||||
std::wstring & FilterValue(const std::wstring & in);
|
||||
void FilterText(Ezc::Item & item);
|
||||
void Parse(std::wstring & str);
|
||||
|
||||
char open_mark; // default '{'
|
||||
char closing_mark; // default '}'
|
||||
wchar_t open_mark; // default '{'
|
||||
wchar_t closing_mark; // default '}'
|
||||
|
||||
const Locale * plocale;
|
||||
Locale::Lang lang;
|
||||
std::string res;
|
||||
std::string key;
|
||||
std::string value;
|
||||
const char * pchar;
|
||||
std::wstring res;
|
||||
std::wstring key;
|
||||
std::wstring value;
|
||||
const wchar_t * pchar;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user