Output Encoding & Code formatting

Making process output use UTF8 encoding to avoid having "???" as an
output for special chars and languages like Arabic.