Version 1. Supports URL and Windows style escaping.