• 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
Unicode and ASCII issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unicode and ASCII issues


  • Subject: Unicode and ASCII issues
  • From: Matthew Stuckwisch <email@hidden>
  • Date: Wed, 18 Dec 2002 23:21:37 -0600

When working with ASCII text, one can convert a letter to its MacRoman numerical equivalent, and back, for example:

return ASCII number of "a"
--> 97
return ASCII character 97
--> "a"

I need to be able to do this same action with Unicode, because I need to decompose some Hangul characters, which are highly logically organized in Unicode, so, given the number, I could figure out the composition of the syllable. (eg, break "an-nyeong" into "a" "n" "n" "yeo" "ng").

Is there any way to get the Unicode number of a character and/or (in case I need it later) get a Unicode character based on its number? If there isn't such a command....Chris N./E.? Tim? Any chance of this in an update for AppleScript?

I've searched the archives and think I saw the question asked once before, but never found an answer to the question.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: BIG number as string
  • Next by Date: Re:Efficient Sort Routine....
  • Previous by thread: Project: iRanking
  • Next by thread: Re: Unicode and ASCII issues
  • Index(es):
    • Date
    • Thread