I want to clean special characters from English or Arabic Strings. For example, the "–" in the below example is a special character that displays a "?" when converted to UTF-8.
File name: 1-Mechanical Drawings – Part 1
should be like 1-Mechanical Drawings Part 1
.
السلطات العراقية تعلنé
should be السلطات العراقية تعلن
, where é
is special character and should be removed from the string.