Fix encoding issue (non UTF-8 characters) and maven build after API level change