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

Re: Weird error


  • Subject: Re: Weird error
  • From: John Fowler <email@hidden>
  • Date: Tue, 23 Sep 2003 18:52:58 -0500

On Tuesday, September 23, 2003, at 12:41 PM, Doug McNutt wrote:

Perl would make short work of your trimming operation. It's regular expression syntax with anchors for start of line and end of line are very close to what you want. I know. There's a learning curve.

I'm aware I can probably apply perl a lot in my applications and plan to learn more about how but I have an application to maintain right now and have to focus on fixing the "Weird error." Sorry I misspelled "weird" in my original post.


I mention this only in case some deep system setting may have been reset by perl, but I think otherwise this is absurd as an explanation for what is going on. Even this is crazy, since the program ran fine this morning and only started acting oddly around mid-day when no programming or anything was going on. I run OS X 10.2.8.

I received and installed 10.2.8 just about the time your problems began. Did you get it earlier than everyone else? Or did it install itself while you were not watching?

My problem began Monday and I didn't upgrade to 10.2.8 until Monday night. I have confirmed the problem persists after the upgrade.

What about the code that creates the data in the first place? Is it producing old fashioned ASCII text or has it started using UTF-8 or UTF16?

The code is created by a .asp process which I assume means Windows. It is true that the server posted a notice saying they were upgrading their software at midday Monday and conceivable that something changed on the server side. But as one can see from the original post, when "B" is the first letter in the string, "" gets placed first in the stringList by "get every text item." The problem occurs before "ascii number" is even called in my script. Because I can SEE a B, I think get every text item should be able to place it first in the list of text items. I think the problem is isolated in the get every text item method and is specific to the source text. Is there something about UTF-8 that would make the FIRST text item into hash?

John Fowler
_______________________________________________
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.

  • Prev by Date: Re: Missing file date
  • Next by Date: Re: asleep
  • Previous by thread: Re: Image thumbnails question
  • Next by thread: Re: Weird error
  • Index(es):
    • Date
    • Thread