1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 21:30:39 +00:00

[file encoding] improved code & modified for file_edit & text_diff

This commit is contained in:
llj
2013-02-27 15:19:24 +08:00
parent 3a485e4a73
commit 15d9d69c66
7 changed files with 88 additions and 49 deletions

View File

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