Update functions.php

Add %8A-like character decoding for Russian-language URI