Add LC_CTYPE when detecting host_type to deal with UTF-8
Merge pull request #191 from mfojtik/fix-encoding

Add LC_CTYPE when detecting host_type to deal with UTF-8
Bug 1028996 - Replace hard-coded 'Broker' with 'host'
Merge pull request #192 from nhr/bug_1028996

Bug 1028996 - Replace hard-coded 'Broker' with 'host'
Force UTF-8 encoding for host_type