When I do escapeshellarg('référencement') it returns ‘rfrencement’. How can we resolve the problem ?
When I do escapeshellarg(‘référencement’) it returns ‘rfrencement’. How can we resolve the problem ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is almost certainly due to your system locale. What string encoding are you using for your argument, versus the encoding set as the locale? As a debugging step, you can try forcing UTF-8 with
before you call
escapeshellarg, and see if that helps.