开发者

Replacing �'s with quotations and apostrophes

开发者 https://www.devze.com 2023-03-19 07:15 出处:网络
Recently I\'ve done some careless copying and pasting into my html documents. Because the document type is set to Strict, the quotation marks and apostrophes show up as this crazy symbol: �.

Recently I've done some careless copying and pasting into my html documents. Because the document type is set to Strict, the quotation marks and apostrophes show up as this crazy symbol: �. Example: Brad says, �Don�t rock the boat baby.�

I considered changing the document type from Strict (which could turn out to be the easiest thing to do) but I'm not sure if changing from Strict would have any negative repercussions.

Naturally, I need to get rid of them. The problem is that I need to replace A LOT of them from a lot of different documents. I'd use the replace feature on Textpad, but it doesn't recognize � , so 开发者_如何学GoI can't change it. I've been reduced to going through all of the code and doing the tedious replacing.

Does anyone know of a good way to replace these things? It could be some other software, or anything else really.


I always use textmate on the Mac to replace them because it does recognize those characters. Try notepad++ and a bunch of different text editors and see what you come up with.

I remember dealing with this when I first started out and my secretary got reprimanded for such a crime.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号