1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

[file encoding] added encoding option & used chardet for Text/Markdown/Sf file

This commit is contained in:
llj
2013-02-24 16:52:10 +08:00
parent 021c97d81b
commit 086c03a068
7 changed files with 102 additions and 22 deletions

View File

@@ -146,6 +146,7 @@ ACCOUNT_ACTIVATION_DAYS = 7
# File preview
FILE_PREVIEW_MAX_SIZE = 10 * 1024 * 1024
USE_PDFJS = True
FILE_ENCODING_LIST = ['auto', 'utf-8', 'gbk', 'ISO-8859-1', 'ISO-8859-5']
# Avatar
AVATAR_STORAGE_DIR = 'avatars'