Handle special characters in view id