• 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: Clarification (was: Re: AppleScript and international characters)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clarification (was: Re: AppleScript and international characters)


  • Subject: Re: Clarification (was: Re: AppleScript and international characters)
  • From: John Delacour <email@hidden>
  • Date: Thu, 22 Aug 2002 10:01:55 +0100

At 12:05 am +0200 22/8/02, Christina Zeeh wrote:

Here's another (tiny) script that also won't work with umlauts:

1. Open TextEdit
2. Type in some text containing umlauts
3. Run the following script:
set the clipboard to the text of the front document of application "TextEdit" as international text

As you will see, the text in the clipboard gets truncated at the first umlaut :-(

As others have explained, this apparently happens with "cocoa" apps only. There is no way round it so far as I can see unless you write the file to disk and read it, which is not at all practical.

Unless you need to use Unicode - and very few people do - then you you would be far better off using an established text editor such as Tex-Edit Plus <http://www.tex-edit.com/> which is excellent and available for Mac OS X.

It also has a proper scripting dictionary.

JD
_______________________________________________
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.

References: 
 >Clarification (was: Re: AppleScript and international characters) (From: Christina Zeeh <email@hidden>)

  • Prev by Date: Re: Fetch
  • Next by Date: Re: Renaming files in list in batch
  • Previous by thread: Re: [Apple List Admin] Re: Clarification (was: Re: AppleScript and international characters)
  • Next by thread: Can't write to file - MacOS 9.1 + AS 1.8.3
  • Index(es):
    • Date
    • Thread