• 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: Wish
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wish


  • Subject: Re: Wish
  • From: has <email@hidden>
  • Date: Sat, 14 Oct 2006 13:50:32 +0100

Yvan KOENIG wrote:

Here and there I read that ASCII encoding deals only with codes 0 thru 127.

So I think that it would be fine to edit the AppleScript parser (or the Standard Additions file) so that when someone type:

ASCII character xx or ASCII number yy

it transcode them to

MacRoman character xx or MacRoman number yy

This would better reflect what we are working with.

While having 'ASCII' in the command name IS misleading, changing it to 'MacRoman' would also be incorrect since AppleScript strings use the host system's primary encoding which varies depending on the settings in the International preferences pane. Come to think of it, I'm not sure they even work correctly with multi-byte encodings... (it's a while since I've touched them though so don't quote me on that).


It'd make more sense for Standard Additions to gently retire those crusty old commands and add new Unicode-aware 'Unicode characters' and 'Unicode numbers' commands like those in TextCommands. (Or heck, you could alway try asking Apple to bundle TextCommands or something like it in Leopard, I suppose.)

has
--
http://freespace.virgin.net/hamish.sanderson/
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Wish
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Wish
  • Next by Date: Re: ISO date format on SOAP interface
  • Previous by thread: Wish
  • Next by thread: Re: Wish
  • Index(es):
    • Date
    • Thread