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

@@ -22,7 +22,7 @@ long parent_id;
long user_id;
long group_id;
std::string guest_name; // used as a user name when user_id is equal -1
std::wstring guest_name; // used as a user name when user_id is equal -1
long modification_user_id; // who has modified the item last (not taken into account when checking permissions)
@@ -31,10 +31,10 @@ int privileges;
tm date_creation;
tm date_modification;
std::string subject;
std::string content;
std::wstring subject;
std::wstring content;
long content_id; // used by the database
std::string url;
std::wstring url;
enum ContentType
{
@@ -77,10 +77,10 @@ enum Auth
Auth auth;
std::string auth_path; // path to a file (if auth!=auth_none)
std::wstring auth_path; // path to a file (if auth!=auth_none)
std::string html_template;
std::wstring html_template;
// methods