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:
@@ -24,7 +24,7 @@ void template_index(Info & i)
|
||||
}
|
||||
|
||||
|
||||
static std::vector<std::string> temp_tab;
|
||||
static std::vector<std::wstring> temp_tab;
|
||||
static size_t temp_req_id = 0;
|
||||
static size_t temp_def;
|
||||
static size_t temp_index;
|
||||
@@ -34,7 +34,7 @@ static size_t temp_index;
|
||||
void template_set_def()
|
||||
{
|
||||
temp_def = (size_t)-1; // none
|
||||
const std::string * html_file;
|
||||
const std::wstring * html_file;
|
||||
|
||||
if( request->is_item )
|
||||
html_file = &request->item.html_template;
|
||||
|
Reference in New Issue
Block a user