I want to compare two chinese words as below (they should be same):
d = "进
出口中心"
s = "进出口中心"
print(d == s)
They seem to be equal, but not returned equal. When I put these code in to IDLE (Python GUI) it looks like:
>>> d = "进�出口中心"
>>> s = "进出口中心"
>>> print(d == s)
There's a special character � in the word.
How can I remove this character or other special character like it, and make these two words equal?
Thanks!