Added UTF-8 support to supplementary libs

Style changes for consistency