This re-encoding mess was a spot-fix for a bug upstream in webFunctions.py. I fixed it there, and promptly forgot to remove it here. Derp.