Re: Problems with copy/paste from HTML pages
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 ( ) 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