added missing section tag
Encode spaces, and if a character doesn't exist then we'll skip it