• 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: Problems with copy/paste from HTML pages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with copy/paste from HTML pages


  • Subject: Re: Problems with copy/paste from HTML pages
  • From: "Johan Carlberg" <email@hidden>
  • Date: Mon, 27 Aug 2001 16:19:43 +0200

The web page is probably nicely formatted with non-breaking
spaces (&nbsp;) which is pasted into your source file.

The compiler doesn't understand non-breaking spaces and
replies with obscure error messages. I usually get "illegal
expression, found `unknown'" at these times. Do a
Find/Replace All, replacing all non-breaking spaces
(option-space) with regular spaces.

Johan

On Mon, 27 Aug 2001 15:46:24 +0200
Bertrand Mansion <email@hidden> wrote:
> Hi,
>
> I have a strange problem with Project Builder. When I
> find a source code on
> the internet using Internet Explorer under Mac OS X, and
> copy/paste it into
> my own source code in Project Builder, it makes an error
> on compilation.
>
> It says something like :
> remove Unknown '' (I don't remember exactly)
>
> So I have to rewrite this code and it works fine.
> With BBEdit, there is a function called Convert to ASCII
> which cleans
> imported text. Is there something similar in
> ProjectBuilder as I guess the
> problem comes from invisible characters (carriage returns
> ?) that the
> compiler doesn't understand.
>
> Or maybe, I am the only one around who have this problem
> ???
>
> Thanks for your help.
>
> Bertrand Mansion
> Mamasam
> _______________________________________________
> cocoa-dev mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Problems with copy/paste from HTML pages (From: Bertrand Mansion <email@hidden>)

  • Prev by Date: Re: Problems with copy/paste from HTML pages
  • Next by Date: Re: Finding keyboard state in Cocoa
  • Previous by thread: Re: Problems with copy/paste from HTML pages
  • Next by thread: Re: cocoa-dev digest, Vol 1 #471 - 11 msgs
  • Index(es):
    • Date
    • Thread