encoding apostrophes on join page