MACSCRPT Archives

January 2011

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Emmanuel LEVY <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 13 Jan 2011 16:19:42 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (70 lines)
Yes but the decomposition issues are a little bit trickier and there  
may bite hard.

Emmanuel

On Jan 12, 2011, at 3:45 AM, David Livesay wrote:

> You can always copy the character, paste it into an new document in  
> BBEdit and select "Hex Dump Front Document" from the File menu.
>
> Just for grins, here's how you can get the unicode value in hex (for  
> that particular character on that particular page) with JavaScript  
> in Safari 5:
>
> str =  
> document.getElementById("footer").children[1].children[0].innerText
> "Family 사이트 ▶"
> str.charCodeAt(str.length - 1).toString(16)
> "25b6"
>
> On Jan 11, 2011, at 8:32 PM, Walter Ian Kaye wrote:
>
>> At 05:34 p +0000 01/11/2011, John Delacour didst inscribe upon an
>> electronic papyrus:
>>
>>> At 01:38 -0800 11/01/2011, Walter Ian Kaye wrote:
>>>
>>>> Hey JD, you would probably know this procedure: I see a Unicode
>>>> character on a Web page <http://www.ytn.co.kr/>, in this case a  
>>>> black
>>>> triangle (like "[>"), and want to find out what code point it is.  
>>>> So
>>>> I copied to the clipboard and wrote a script to try and convert it
>>>> using something like this:
>>>>
>>>> item 1 of ((((theU as «class ut16») as string) as record) as  
>>>> list)
>>>>
>>>> and then convert the string to hex, but it didn't match the code
>>>> point in the Character Palette (25B6, or possibly 25BA).
>>>>
>>>> Any ideas?
>>>
>>>
>>> The best idea is almost cetainly this:
>>>
>>> <http://earthlingsoft.net/UnicodeChecker/>
>>>
>>> UnicodeChecker is scriptable.  An invaluable tool.
>>
>> Awesome! I never knew of that program. Thanks!!
>>
>>
>> At 01:17 p -0500 01/11/2011, Mark J. Reed didst inscribe upon an
>> electronic papyrus:
>>
>>> Assuming you're in AS 2.0, all you need is this:
>>>
>>> id of (the clipboard as text)
>>>
>>> For your triangle, copied from the web page you gave, that gives me
>>> 9654, which is hex 25B6.
>>
>> I'm still on Tiger -- best version of OS X ever. Still supports  
>> creator codes!
>>
>>
>> thanks,
>> -boo

ATOM RSS1 RSS2