Jump to content

Mac character encoding error? I think? Makes no sense..


br3nn4n

Recommended Posts

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!!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.