Fixes #366

- add Portable UTF-8 library (work without "mbstring", "iconv", UTF-8 support in "PCRE", or any other library)
- move getEncodePath to text helper
- apply getEncodePath to navigation helper

JP team @acliss19xx @katzueno @tao-s please check