Forums / Setup & design / Online editor problem with "special" characters

Online editor problem with "special" characters

Author Message

Noel Dickover

Wednesday 10 September 2003 2:54:13 pm

Greetings,

The online editor seems to take special characters like quotes or colons and turn them into "?" when you perform a copy-paste function. Is there a way around this? Is this a problem with the setup or is this simply a bug?

Thanks in advance.

Gunnstein Lye

Thursday 11 September 2003 5:15:25 am

It sounds like a bug. Are you copying from within your article, or from a different browser/program? Which program?

Noel Dickover

Thursday 11 September 2003 5:35:33 am

I've tried copying from a text editor and Microsoft Word, but really, our customers will be copying articles and documents from MS word and pasting them in.

Could this be a problem with the default character set installed? Maybe it doesn't handle smart quotes?

Vincent Saulnier

Thursday 11 September 2003 6:16:31 am

I have the exact same problem with one of my clients.
It does the same thing without the online editor.

eZ crew, can you do something.

Vincent Saulnier

Thursday 11 September 2003 8:09:59 pm

Here is the thread I already started weeks ago.
Nobody answered.

http://ez.no/developer/ez_publish_3/forum/developer/switching_characters

Wenyue Yu

Friday 12 September 2003 1:49:08 am

Hi,

We did have received bug report about "special" characters like quotes or colons showing not correctly when they are copied from MS word, but this is only for version 3.0.

I have tested with version 3.1 and version 3.2 beta and can't reproduce the bug.

I think you should first check character settings for database in site.ini and character settings in i18n.ini, and make sure they are using the same encoding. For my test, I use following:
In file site.ini:
[DatabaseSettings]
Charset=iso-8859-1

In file i18n.ini:
[CharacterSettings]
Charset=iso-8859-1

Regards,
wenyue

Vincent Saulnier

Friday 12 September 2003 5:59:37 am

It's exacly the same :

Charset=iso-8859-1

Vincent Saulnier

Monday 15 September 2003 7:18:58 am

Anybody!?

This is a big problem on our end.

Paul Forsyth

Monday 15 September 2003 7:31:27 am

Is there a support email for online editors, since it is a product?

Paul

Vincent Saulnier

Monday 15 September 2003 8:29:48 am

This is not only a problem with the online editor.
This is a problem with eZ 3 like I said earlier.

Jan Borsodi

Monday 15 September 2003 9:02:49 am

To get these characters you must setup the site with the correct charset, for instance the iso-8859-1 does not have the typical characters which are found in windows (since windows uses it's own charsets like windows-1252).

Edit i18n.ini and change it to:
Charset=windows-1252
You must also do the same with the database settings.

Alternatively you can use utf-8 as the charset if you don't mind the extra processing time it requires, that way you won't have to worry about characters in the future.

If you want to know more about charsets I can recommend this site:
http://czyborra.com/
For instance to see the windows-1252 charset try:
http://czyborra.com/charsets/codepages.html#CP1252

Don't you just love MS, always going in their own direction and leaving the problem solving to other people. (Just wait till you try the WebDAV interface in 3.2, and you'll really see the problem MS makes for users and software developers)

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Paul Borgermans

Monday 15 September 2003 9:44:49 am

Tx Jan,

that explains weird things with others and why I never had problems (default to ISO, not windows in IE here).

Since OE is DHTML anyway, why not detect the charset used and popup a warning if not ISO or not the same as the server setting?

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Vincent Saulnier

Tuesday 16 September 2003 5:55:24 am

It's a good idea Paul.

Helle Andersen

Wednesday 08 June 2005 1:03:16 am

To Jan's suggestion:
It is very important not to change the settings in settings/override, but only in /settings/siteacces/admin.
Otherwise the systems coverts every page to windows-1252 and this makes the system extremely slow