fixed StringBuffer concatenation and C-string building, UTF-8 strings now fully working!