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

Re: Unicode characters


  • Subject: Re: Unicode characters
  • From: John Delacour <email@hidden>
  • Date: Tue, 8 Apr 2003 16:52:26 +0100
  • Mac-eudora-version: 6.0a14

At 9:44 am +0200 8/4/03, Jonas Salling wrote:

I'd like to build a string with a Unicode paragraph end character in it. I was hoping there'd be something like this available:

"a" & (unicode character 2029) & "b"

This, however, doesn't seem to be the case. Am I missing something?


"a" is not a unicode character and nor is "b"

Try this:


set fU to "/tmp/ab.txt"
set f to POSIX file fU
set a to (ASCII character 0) & "a"
set parasep to " )"
set b to (ASCII character 0) & "b"
open for access f with write permission
set eof f to 0
write (ASCII character 254) & (ASCII character 255) to f
write a & parasep & b to f
close access f
do shell script "open -e " & fU

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

  • Follow-Ups:
    • Re: Unicode characters
      • From: Christopher Nebel <email@hidden>
References: 
 >Unicode characters (From: Jonas Salling <email@hidden>)

  • Prev by Date: Print postscript in Quark 5.01 problem
  • Next by Date: Keyboard Input Menu position differs, has no name.
  • Previous by thread: Unicode characters
  • Next by thread: Re: Unicode characters
  • Index(es):
    • Date
    • Thread