You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Paul Stanton <pa...@mapshed.com.au> on 2011/03/28 08:58:17 UTC

ascii code 153 (tm) not displaying properly

Hi all,

I'm having some character set issues in that I can't get &#153; to 
display as ™ in my tapestry page.

Here's my doctype and html declarations:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" 
xmlns:p="tapestry:parameter">

In the same page &#169; displays fine as ©

Any ideas?

thanks, paul.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ascii code 153 (tm) not displaying properly

Posted by Nikola Milikic <ni...@gmail.com>.
Hi Paul,

I recently had the same problem and solved it by putting the next doctype
declaration in my layout page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


It should also work if you are not using the layout page but in that case
you need to set this in every page separately.

Best,
Nikola

Email: nikola.milikic@gmail.com
URL:   nikola.milikic.info


On Mon, Mar 28, 2011 at 8:58 AM, Paul Stanton <pa...@mapshed.com.au> wrote:

> Hi all,
>
> I'm having some character set issues in that I can't get &#153; to display
> as ™ in my tapestry page.
>
> Here's my doctype and html declarations:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"
> xmlns:p="tapestry:parameter">
>
> In the same page &#169; displays fine as ©
>
> Any ideas?
>
> thanks, paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: ascii code 153 (tm) not displaying properly

Posted by Nikola Milikic <ni...@gmail.com>.
>
> btw,&trade; should work as well.


And  &copy; should work too.

Best,
Nikola


On Tue, Mar 29, 2011 at 10:05 PM, Paul Stanton <pa...@mapshed.com.au> wrote:

> &trade; works fine thanks Ulrich.
>
>
> On 29/03/2011 10:42 PM, Ulrich Stärk wrote:
>
>> btw,&trade; should work as well.
>>
>> Uli
>>
>> On 29.03.2011 13:15, Yohan Yudanara wrote:
>>
>>> standar value in unicode for trademark symbol is not&#169;.
>>> 169 is trademark character on windows-1252 encoding.
>>>
>>> The standard unicode value for trademark symbol is&#8482; (decimal)
>>> or&#x2122;  (hexa)
>>>
>>> Source: http://en.wikipedia.org/wiki/Letterlike_Symbols
>>>
>>> On Mon, Mar 28, 2011 at 1:58 PM, Paul Stanton<pa...@mapshed.com.au>
>>>  wrote:
>>>
>>>> Hi all,
>>>>
>>>> I'm having some character set issues in that I can't get&#153; to
>>>> display
>>>> as ™ in my tapestry page.
>>>>
>>>> Here's my doctype and html declarations:
>>>>
>>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>>>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"
>>>> xmlns:p="tapestry:parameter">
>>>>
>>>> In the same page&#169; displays fine as ©
>>>>
>>>> Any ideas?
>>>>
>>>> thanks, paul.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>
>>>>
>>>>  ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>  ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: ascii code 153 (tm) not displaying properly

Posted by Paul Stanton <pa...@mapshed.com.au>.
&trade; works fine thanks Ulrich.

On 29/03/2011 10:42 PM, Ulrich Stärk wrote:
> btw,&trade; should work as well.
>
> Uli
>
> On 29.03.2011 13:15, Yohan Yudanara wrote:
>> standar value in unicode for trademark symbol is not&#169;.
>> 169 is trademark character on windows-1252 encoding.
>>
>> The standard unicode value for trademark symbol is&#8482; (decimal)
>> or&#x2122;  (hexa)
>>
>> Source: http://en.wikipedia.org/wiki/Letterlike_Symbols
>>
>> On Mon, Mar 28, 2011 at 1:58 PM, Paul Stanton<pa...@mapshed.com.au>  wrote:
>>> Hi all,
>>>
>>> I'm having some character set issues in that I can't get&#153; to display
>>> as ™ in my tapestry page.
>>>
>>> Here's my doctype and html declarations:
>>>
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"
>>> xmlns:p="tapestry:parameter">
>>>
>>> In the same page&#169; displays fine as ©
>>>
>>> Any ideas?
>>>
>>> thanks, paul.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ascii code 153 (tm) not displaying properly

Posted by Ulrich Stärk <ul...@spielviel.de>.
btw, &trade; should work as well.

Uli

On 29.03.2011 13:15, Yohan Yudanara wrote:
> standar value in unicode for trademark symbol is not &#169;.
> 169 is trademark character on windows-1252 encoding.
> 
> The standard unicode value for trademark symbol is &#8482; (decimal)
> or &#x2122;  (hexa)
> 
> Source: http://en.wikipedia.org/wiki/Letterlike_Symbols
> 
> On Mon, Mar 28, 2011 at 1:58 PM, Paul Stanton <pa...@mapshed.com.au> wrote:
>> Hi all,
>>
>> I'm having some character set issues in that I can't get &#153; to display
>> as ™ in my tapestry page.
>>
>> Here's my doctype and html declarations:
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"
>> xmlns:p="tapestry:parameter">
>>
>> In the same page &#169; displays fine as ©
>>
>> Any ideas?
>>
>> thanks, paul.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ascii code 153 (tm) not displaying properly

Posted by Yohan Yudanara <yo...@gmail.com>.
standar value in unicode for trademark symbol is not &#169;.
169 is trademark character on windows-1252 encoding.

The standard unicode value for trademark symbol is &#8482; (decimal)
or &#x2122;  (hexa)

Source: http://en.wikipedia.org/wiki/Letterlike_Symbols

On Mon, Mar 28, 2011 at 1:58 PM, Paul Stanton <pa...@mapshed.com.au> wrote:
> Hi all,
>
> I'm having some character set issues in that I can't get &#153; to display
> as ™ in my tapestry page.
>
> Here's my doctype and html declarations:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"
> xmlns:p="tapestry:parameter">
>
> In the same page &#169; displays fine as ©
>
> Any ideas?
>
> thanks, paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org