• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: en-dash and em-dash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: en-dash and em-dash


  • Subject: Re: en-dash and em-dash
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 21 Jun 2016 18:35:05 +1000

On 21 Jun 2016, at 6:22 PM, Mitchell L Model <email@hidden> wrote:
>
> Is it really possible that TextEdit gets confused by Unicode characters? I thought everything (except browsers) could handle Unicode characters.

It's not getting confused by the characters -- it's just not recognizing that the file is UTF8.

> Except that although without the utf8 conversion, TextEdit doesn’t understand unicode characters above 256, BBEdit gets
> 	Examples overview — PyObjC — the Python ⟷ Objective-C bridge
> right for the dashes but not for the double arrow, and Emacs gets confused in the same way as TextEdit.

I don't know what TextEdit is doing, but you can't expect Emacs to deal with something like MacRoman unless it's been told to. BBEdit can deal with MacRoman -- but the problem this time is that the double-arrow is not a MacRoman character, so it can't be written correctly. The em-dashes are MacRoman characters in this example -- just encoded differently.

Write UTF-8. Read RTF-8. Be happy.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


References: 
 >Re: en-dash and em-dash (From: Mitchell L Model <email@hidden>)

  • Prev by Date: Re: en-dash and em-dash
  • Next by Date: Re: en-dash and em-dash
  • Previous by thread: Re: en-dash and em-dash
  • Next by thread: Re: en-dash and em-dash
  • Index(es):
    • Date
    • Thread