Im using an API to receive data, several parts cause problem which I need to resolve:
"Apple® iPad® 2 with Wi-Fi - 16GB"
"Rocketfish™ - Premium Vehicle Charger for Apple® iPad™, iPhone® and iPod®"
I need to remove special UTF8 chars such as ® ™, how can I achieve this ?
First, please make sure you absolutely cannot work with those “problematic” symbols. Clean modern program should correctly understand input in any language.
As for your request to remove anything unreadable, it is better to specify what you want to leave instead, since F. Calderan’s example won’t remove any extra Unicode symbols above specified FFFF position. So, considering you only want ASCII: