I have a weird dash in my text, which isn\'t being detected in a str_replace
.
Here is an example:
Sun: 10:00 – 3:00pm
I don
En -
Dash we're used to seeing
Em –
Dash that we're supposed to use most of the time where use "-".
Basically, it's a grammar thing.
Read up on Wikipedia: http://en.wikipedia.org/wiki/Dash
On a mac (with US Keyboard Layout) I get it hitting Alt+- , same as you get _ with shift+_
You don't need any special treatement to it as it were some chinese symbol. It is a valid character. Treat it as such: str_replace('–', 'em dash');
.