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

Re: Applescript localization support


  • Subject: Re: Applescript localization support
  • From: "Mark J. Reed" <email@hidden>
  • Date: Mon, 23 Jun 2008 08:36:46 -0400

AFAIK, prior to Leopard, there's no support for Unicode string
literals in AS.  You can use raw utxt data (ugly and illegible), but
you're probably better off storing the message body outside of the
script in a text file.



On 6/23/08, parag vibhute <email@hidden> wrote:
> Any answer guys???
>
> I know Applescript 2.0 (which run on Leopard) supports unicode character set
> & so support chinese language localization. But what about panther & tiger?
> It(script with chinese string) does not give expected output on Panther &
> tiger. So what should be the solution?
>
> Thanks,
> Palav
>
> On Mon, Jun 16, 2008 at 6:37 PM, parag vibhute <email@hidden>
> wrote:
>
>>
>> I have following script for generating an email in Apple Mail application:
>>
>> tell application "Mail"
>>     set theMessage to make new outgoing message with properties
>> {visible:true, subject:"My Subject", content:"My Body"}
>>     tell theMessage
>>         make new to recipient at end of to recipients with properties
>> {address:"email@hidden"}
>>     end tell
>> end tell
>>
>> Now I want to make content of email("My Body" in above script) in Chinese
>> language instead of English, how can I do it? I tried in script editor but
>> whenever I compile the script chinese characters gets changed to some
>> garbage character. What should I do?
>>
>> Thanks,
>> Palav
>>
>> --
>>
>> There are many things in your life that will catch your eye but only a few
>> will catch your heart....pursue those'.
>
>
>
>
> --
>
> There are many things in your life that will catch your eye but only a few
> will catch your heart....pursue those'.
>

--
Sent from Gmail for mobile | mobile.google.com

Mark J. Reed <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

References: 
 >Applescript localization support (From: "parag vibhute" <email@hidden>)
 >Re: Applescript localization support (From: "parag vibhute" <email@hidden>)

  • Prev by Date: Re: Applescript localization support
  • Next by Date: Re: FileMaker "do script"
  • Previous by thread: Re: Applescript localization support
  • Next by thread: Re: Applescript localization support
  • Index(es):
    • Date
    • Thread