Ryan Schmidt wrote on Thu, 18 Mar 2010 at 05:33 -0500: > If your hostname is not UTF-8, how is Subversion to know what > character encoding it's using? It seems to me it's a bug (of your OS) > to present a non-UTF-8 string (or possibly even a non-ASCII string) as > a valid hostname.
We get the hostname from APR. Either Subversion or APR (depending on APR's API promises) should convert it to UTF-8 (or, as you say, punycode) before we attempt to use it as the property value. Another option: we could use the local IP address instead of the hostname. > (My thought is that if a non-ASCII hostname is > desired, the UTF-8 representation of the hostname should be encoded in > punycode [1] by the OS. But maybe that's just me.) > > > [1] http://en.wikipedia.org/wiki/Punycode > > >