br3nn4n Posted April 6, 2009 Share Posted April 6, 2009 I have some MS Word text, with special characters like Word does such as those curly quotes, etc. In my coding, I replace all those with standard quotes, and remove all the special characters so it's just normal (non Word-formatted) text. When this Word-formatted text is copied / pasted from a WINDOWS computer, the script correctly replaces the special Word characters. When this Word-formatted text is copied / pasted from a MAC computer, I end up with a whole bunch of weird, non-unicode characters.. Anyone know the reasoning for this? Maybe the Macs use different character entities for the Word special characters? I have to manually go back in and fix every one of these so it's really bugging me. Any tips would really help!! Quote Link to comment https://forums.phpfreaks.com/topic/152745-mac-character-encoding-error-i-think-makes-no-sense/ Share on other sites More sharing options...
Daniel0 Posted April 6, 2009 Share Posted April 6, 2009 How does this relate to PHP? Quote Link to comment https://forums.phpfreaks.com/topic/152745-mac-character-encoding-error-i-think-makes-no-sense/#findComment-802104 Share on other sites More sharing options...
gizmola Posted April 6, 2009 Share Posted April 6, 2009 Cut from what to what? Quote Link to comment https://forums.phpfreaks.com/topic/152745-mac-character-encoding-error-i-think-makes-no-sense/#findComment-802107 Share on other sites More sharing options...
Yesideez Posted April 6, 2009 Share Posted April 6, 2009 Agreed, not PHP related. Save out as plain text on the Mac then open in a plain text editor (can't remember what it's called!) then paste in and see if it works. Quote Link to comment https://forums.phpfreaks.com/topic/152745-mac-character-encoding-error-i-think-makes-no-sense/#findComment-802119 Share on other sites More sharing options...
br3nn4n Posted April 7, 2009 Author Share Posted April 7, 2009 Well I figured someone might know why code that removes special characters from Word formatted text on a PC wouldn't remove those same characters from Word formatted text on a Mac. I'll try that plain text editor on the Mac idea. Thank you, Yesideez. Quote Link to comment https://forums.phpfreaks.com/topic/152745-mac-character-encoding-error-i-think-makes-no-sense/#findComment-803180 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.