Client: 1. Modified rootPath definition
2. Some bugs in charset encoding needs to be fixed