• 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: Problem with Unicode - Aperture - Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Unicode - Aperture - Applescript


  • Subject: Re: Problem with Unicode - Aperture - Applescript
  • From: Emmanuel LEVY <email@hidden>
  • Date: Sun, 3 Jan 2010 09:20:39 +0100

The Satimage osax provides a command for that - and its dictionary provides a short explanation:

normalize unicode v : normalize Unicode text (canonical composition or decomposition)

normalize unicode string
[decomposition boolean] : want canonical decomposition. default: false. For example, HFS Plus converts all file names to decomposed Unicode, while Macintosh keyboards generally produce precomposed Unicode.
→ string


Emmanuel


On Jan 3, 2010, at 12:24 AM, Mark J. Reed wrote:

The free UnicodeChecker (http://earthlingsoft.net/UnicodeChecker/)
will normalize Unicode data.  You can pick any of the standard
normalization forms - NFC to prefer composed characters (single
characters for letters+diacritic where possible), NFD to prefer
decomposed characters (always use multichar sequences).

On Sat, Jan 2, 2010 at 4:16 PM, Jan Erik Moström <email@hidden> wrote:
On 10-01-02 at 19:27, email@hidden (Mark J. Reed) wrote:

Those are both valid representations of that glyph. One is a two- char
sequence: lowercase a followed by the combining ring above, while the
other is the precombined form in a single character. Any Unicode
compliant app should treat them as identical.

Unfortunately, they don't look the same in all places and applications
doesn't threat them the same.


So my follow-up question would be: is there some easy way to "normalize"
this, and other, character(s)?


- jem
--
Jan Erik Moström
http://mostrom.eu

_______________________________________________
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




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


This email sent to email@hidden

_______________________________________________ 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: Problem with Unicode - Aperture - Applescript (From: Jan Erik Moström <email@hidden>)
 >Re: Problem with Unicode - Aperture - Applescript (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: How do I differentiate via applescript a logical number from a real page number in Acrobat?
  • Next by Date: Re: Problem with Unicode - Aperture - Applescript
  • Previous by thread: Re: Problem with Unicode - Aperture - Applescript
  • Next by thread: Re: Problem with Unicode - Aperture - Applescript
  • Index(es):
    • Date
    • Thread