Copyright symbol

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Copyright symbol

squeakman
Hello,

Can anyone tell me how to include the copyright symbol in html text.
I tried:

        html text: '&copy Minderbinder Corp.'

but this does not print the copyright symbol.

Thanks,
Frank

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Copyright symbol

Diogenes Moreira
Hi.

I Can use

html html: ' &copy Minderbinder Corp.'

#text method encode the string before past it to the canvas.

Regads..

On Feb 19, 2008 7:12 PM, Squeaker <[hidden email]> wrote:
Hello,

Can anyone tell me how to include the copyright symbol in html text.
I tried:

       html text: '&copy Minderbinder Corp.'

but this does not print the copyright symbol.

Thanks,
Frank

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Copyright symbol

Randal L. Schwartz
In reply to this post by squeakman
>>>>> "Squeaker" == Squeaker  <[hidden email]> writes:

Squeaker> html text: '&copy Minderbinder Corp.'

html html: '&copy; Minderbinder Corp.'

#text: escapes.

ALso, don't forget teh semicolon on that... it's not a legal entity
without the semicolon.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[hidden email]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Copyright symbol

Philippe Marschall
In reply to this post by squeakman
2008/2/19, Squeaker <[hidden email]>:
> Hello,
>
> Can anyone tell me how to include the copyright symbol in html text.
> I tried:
>
>         html text: '&copy Minderbinder Corp.'
>
> but this does not print the copyright symbol.

If you run an encoded server adapter or latin-1 encoding you can simply do:

html text: '(c)  Minderbinder Corp.'

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Copyright symbol

Philippe Marschall
2008/2/19, Philippe Marschall <[hidden email]>:

> 2008/2/19, Squeaker <[hidden email]>:
> > Hello,
> >
> > Can anyone tell me how to include the copyright symbol in html text.
> > I tried:
> >
> >         html text: '&copy Minderbinder Corp.'
> >
> > but this does not print the copyright symbol.
>
> If you run an encoded server adapter or latin-1 encoding you can simply do:
>
> html text: '(c)  Minderbinder Corp.'

This mail probably didn't get sent correctly. I wanted to post was a
String with a character with code point 169. You can evaluate:
(String with: (Character value: 169)), ' Minderbinder Corp.'
which should give you a string with a copyright symbol that you can
copy and paste into the source code.

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Copyright symbol

Yan Laporte
In reply to this post by squeakman

First &copy should be &copy;  (forgot a semicolon).

But even then.. text: escapes the ampersand so you'll get &copy; on your page instead of the symbol you want.
You could use html: instead which prints to the page without escaping..

A better solution (in my opinion) would be to just use the unicode character...

yl

2008/2/19, Squeaker <[hidden email]>:
Hello,

Can anyone tell me how to include the copyright symbol in html text.
I tried:

        html text: '&copy Minderbinder Corp.'

but this does not print the copyright symbol.

Thanks,
Frank

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside