Added comprehensive encoding handling to support both player-level encoding choices as well as global multiple encodings through the settings file.
This commit is contained in:
parent
7904916dba
commit
745df8356f
5 changed files with 69 additions and 34 deletions
|
|
@ -70,6 +70,12 @@ IMPORT_MUX_HELP = False
|
|||
# thrown off by sending the empty system command 'idle' to the server
|
||||
# at regular intervals.
|
||||
IDLE_TIMEOUT = 3600
|
||||
# The set of encodings tried. A Player object may set an attribute "encoding" on
|
||||
# itself to match the client used. If not set, or wrong encoding is
|
||||
# given, this list is tried, in order, aborting on the first match.
|
||||
# Add sets for languages/regions your players are likely to use.
|
||||
# (see http://en.wikipedia.org/wiki/Character_encoding)
|
||||
ENCODINGS = ["utf-8", "latin-1", "ISO-8859-1"]
|
||||
|
||||
###################################################
|
||||
# Evennia Database config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue