fix encoding declaration
[FEATURE] Subscriber
fix environ setting in broker/database.py