I tried with a text file with tes#t.txt and that opens in Opera (via ctrl + 0 or dragging) no problem. In the address field, Opera and Chrome will convert the # to %23 for you.

Does this only happen with pdf files?