Revert "Only utf-8 encode ElementHandler's element id route var instead of all route vars"

This reverts commit 8a965220edd6cf93bf13544c3898209c8ca1d3fe.