title: ZF2 - How to create a URI object for urls' with special characters
body: <p>In zendFramework 2, when I am trying to create a <code>\Zend\Uri\Uri</code> object for a url string which has a protocol (i.e. http/https) and special characters in the host name, <code>validateHost()</code> is not validating the host and hence exception is thrown.</p>
  
  <p>But when I try to create a <code>Uri</code> object for a url string which contains special characters in the host name but without protocol, it works as expected.</p>
  
  <p>In this case how should I create my Uri object?</p>
  
  <p>For me the the use case is, my url string can contain url inclusive of protocol or exclusive of protocol and special characters in the host name.</p>
  
  <p>E.g URI for which <code>Uri</code> object is not being created is <code>http://www.fitnessø.dk</code></p>
  
  <p>Thank you in advance.</p>