I found some special characters in my PHP script. One of them is ΓÇô
. It's actually a special character of a dash -
. How should I convert it back to dash so I can process the string?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
I found the answer! It's inspired by this answer
Replacing the character right away won't work.
html_entity_decode
is definitely needed.