percent encoding/decoding for extended chars