PDF document

php - Sending arabic characters in URL - Stack Overflow

If the file is encoded in UTF-8 then the encoding part is done correctly. However, you need to convert the encoding of the incoming string to UTF-8 when you read the parameter. Use iconv or mb_convert_encoding for this. Also, rawurlencode should be used "by default" instead of urlencode unless there is specific reason not to do it.

Source: stackoverflow.com