Load config.yaml using its own charset

Strings in the config are therefore respected by the configured charset
This commit is contained in:
P0nk
2021-09-08 20:01:43 +02:00
parent c841e9952b
commit 52551b2451
3 changed files with 37 additions and 11 deletions

View File

@@ -307,7 +307,7 @@ server:
#Miscellaneous Configuration
TIMEZONE: GMT-3
CHARSET: US-ASCII # Defaults to US-ASCII if not set
CHARSET: US-ASCII # Is loaded first, so applies to the rest of this config. Defaults to US-ASCII if invalid or not set.
USE_DISPLAY_NUMBERS_WITH_COMMA: true #Enforce comma on displayed strings (use this when USE_UNITPRICE_WITH_COMMA is active and you still want to display comma-separated values).
USE_UNITPRICE_WITH_COMMA: true #Set this accordingly with the layout of the unitPrices on Item.wz XML's, whether it's using commas or dots to represent fractions.
MAX_MONITORED_BUFFSTATS: 5 #Limits accounting for "dormant" buff effects, that should take place when stronger stat buffs expires.