TM (trade mark) character online editor

Author Message

laurent le cadet

Thursday 06 July 2006 9:06:39 am

Hi,

The TM doens't seems to be support by OE.
Not in special characters and the combination alt+153 is removed after editing.

Is there a way to print it out ?

Thanks.

Laurent

Nathan Kelly

Thursday 06 July 2006 10:29:14 pm

Hi laurent,

have you tried the ™ entity? I'm not sure if the OE will strip that out? possibly it will.

Cheers!

Pardon me while I burst into flames...

laurent le cadet

Thursday 06 July 2006 11:35:31 pm

Thanks Nathan but ™ is printed out ™.

Laurent

Kristof Coomans

Friday 07 July 2006 1:24:45 am

Hi Laurent

Try to directly paste the character into the text box. It works here (OE 4.1.1, eZ trunk, charset utf8).

You can also paste ™ in the textbox while the online editor is disabled.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

laurent le cadet

Friday 07 July 2006 1:46:11 am

Hi Kristoff,

The charset used is iso-8859-15 :(
If I disabled OE, I think the character will be remowed as soon as the object will be edit again while OE is "on".

Is there a way to add it to the special character list ?

Laurent

Kirill Subbotin

Friday 07 July 2006 1:54:30 am

Unfortunately entities are not supported now. Although you can do the trick:
<literal class='html'>your text &trade;</literal>
(or the same in OE)

laurent le cadet

Friday 07 July 2006 1:58:09 am

Yes Kirill,

that's what I was thinking about at the "extrem" solution.

Thanks

Kristof Coomans

Friday 07 July 2006 2:08:47 am

Is there a way to add it to the special character list ?

If you were using UTF8, you could have modified both extension/ezdhtml/design/standard/templates/ezdhtml/insertcharacter.tpl and insertcharacter_gecko.tpl.

Just add "&#8482;" to the specialChars JavaScript array at line 32 in insertcharacter.tpl and line 37 in insertcharacter_gecko.tpl. The mentioned line numbers are for OE 4.1.1 and can differ in other versions.

I hope some day OE will use ini settings for the character map. Kirill, can you soon apply a patch for this if I make one?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Kirill Subbotin

Friday 07 July 2006 2:17:28 am

2Kristof: Of course the patch is welcome! ;)

laurent le cadet

Friday 07 July 2006 2:24:12 am

Kristoff,

In my case (none UTF8) I'm facing a problem with special character :

1/4 is render &frac14; 1/2 is &frac12;

Some other characters are ok.

Can we used some special character (1/2, 1/4...) only with UTF8 ?

Kristof Coomans

Friday 07 July 2006 3:40:14 am

2Kirill: the modified files are attached to http://ez.no/bugs/view/8623

2Laurent: I think all characters defined in your charset (iso-8859-15) will work

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

laurent le cadet

Friday 07 July 2006 3:48:18 am

...exception for 1/2 1/3 1/4.

A hint to fix that ?

Laurent

Kristof Coomans

Friday 07 July 2006 7:04:54 am

Sorry, no idea.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Philip K.

Tuesday 18 July 2006 3:23:29 am

Hm... how can I switch to UFT-8?

Thanks,
Philip

Linux is like a wigwam; no windows, now gates, and apache inside!

Kristof Coomans

Tuesday 18 July 2006 3:31:31 am

Hello Philip, take a look at this article for choosing UTF8 in the installation wizard: http://ez.no/community/articles/new_features_in_ez_publish_3_8/installation

There are several topics on the forum about UTF8, you will find some at http://www.simpy.com/user/cyberwolf/search/%22utf8%22++tags%3A%22ezpublish%22 or just search the ez.no site for it.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Kirill Subbotin

Tuesday 18 July 2006 3:45:40 am

2Philip:
Search for "Charset" settings in ini files. At least i18n.ini and site.ini. Also the database should be in this charset.

Or you can start setup wizard and make sure that "unicode" is checked when you select language.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.