URI's use UTF-8 encoded octets only by popular convention and not by any hard rule. You can stick any kind of binary data into a URI as long as you percent-encode the non-ASCII bytes. https://tools.ietf.org/html/rfc3986#section-2.5 For example, this file I just threw on my apache web server: http://mozz.us/%80.txt - Michael