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

Re: Bad Characters


  • Subject: Re: Bad Characters
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 15 Oct 2008 19:06:03 -0400

I can't run the script right now, but I would not be surprised to find
odd behavior for code points 127 through 159, which are reserved as
control characters for compatibility with Latin-1 (and ASCII in the
case of 127).  That's also the range where Windows code page 1252 and
Latin-1 disagree with each other.





On 10/15/08, Luther Fuller <email@hidden> wrote:
> It seems there is a problem with (Unicode) characters 127 thru 159.
> Those of you who are more expert than I should run and read this short
> script ...
>
> set nullChar to character id 0 -- or use nullChar = ""
> repeat with charNr from 125 to 165
> 	set testChar to character id charNr
> 	if testChar = nullChar then
> 		"null"
> 	else
> 		"[" & testChar & "]"
> 	end if
> 	display dialog ((charNr as text) & " = " & the result) buttons
> {"Cancel", "Next"} default button 2
> end repeat
>
> The problem should be obvious. But why?
>
>  _______________________________________________
> 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
>

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

  • Follow-Ups:
    • Re: Bad Characters
      • From: Luther Fuller <email@hidden>
References: 
 >Bad Characters (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Bad Characters
  • Next by Date: Re: Bad Characters
  • Previous by thread: Re: Bad Characters
  • Next by thread: Re: Bad Characters
  • Index(es):
    • Date
    • Thread