fix encoding issue and android export format