Portable utf-8 and general system library