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:
2010-11-21 00:19:17 +00:00
parent f1f0fa34cb
commit 8e72a820dd
153 changed files with 4270 additions and 2784 deletions

View File

@@ -148,7 +148,7 @@ void dir_childs_tab(Info & i)
if( !request->dir_tab.empty() )
{
if( request->dir_tab.size() >= 2 && i.par == "with_parent")
if( request->dir_tab.size() >= 2 && i.par == L"with_parent")
{
Item * dir_up = request->dir_tab[request->dir_tab.size()-2];
dir_childs_table.push_back(dir_up);
@@ -182,9 +182,7 @@ void dir_childs_tab_url(Info & i)
void dir_childs_tab_privileges(Info & i)
{
if( dir_childs_index < dir_childs_table.size() )
i.out << "0" << std::setbase(8)
<< dir_childs_table[dir_childs_index]->privileges
<< std::setbase(10);
i.out << "0" << Itoa(dir_childs_table[dir_childs_index]->privileges, 8);
}
@@ -296,7 +294,7 @@ void dir_last_default_item_dir(Info & i)
{
dir_last_default_item_init();
std::string path;
std::wstring path;
if( dir_last_default_item.parent_id != -1 )
if( system->dirs.MakePath(dir_last_default_item.parent_id, path) )