Re: Problem with Unicode - Aperture - Applescript
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