Java - removing strange characters from a String -


How do I remove strings from strings and weird unicode characters (such as a black diamond with question mark)?

Updated:

Please tell me the regex according to the Unicode character string or "black diamond with question mark in it". A black diamond with a question mark is not a unicode character - it is a placeholder for a character that is

< P> Your font can not be displayed if you have a glyph in the string that is not in the font used to display that string, you will see the placeholder. It is defined as a U + FFFD: its format depends on the font you are using.

You can not use the "normal" ASCII character set that can be used to remove Unicode characters.

Comments