update codes:
1. add the image uploader
2. change file encode to utf-8