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

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

eZ debug

Timing: Jan 31 2025 04:28:58
Script start
Timing: Jan 31 2025 04:28:58
Module start 'layout'
Timing: Jan 31 2025 04:28:58
Module start 'content'
Timing: Jan 31 2025 04:28:58
Module end 'content'
Timing: Jan 31 2025 04:28:58
Script end

Main resources:

Total runtime0.0122 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.2656151.2266
Module start 'layout' 0.00510.0023 739.492236.6797
Module start 'content' 0.00740.0036 776.1719102.1875
Module end 'content' 0.01100.0012 878.359445.9922
Script end 0.0122  924.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002117.4751140.0002
Check MTime0.00107.9695140.0001
Mysql Total
Database connection0.00065.174410.0006
Mysqli_queries0.002621.261730.0009
Looping result0.00000.105410.0000
Template Total0.00097.410.0009
Template load0.00075.797010.0007
Template processing0.00021.581010.0002
Override
Cache load0.00053.774910.0005
General
dbfile0.00032.154980.0000
String conversion0.00000.064440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs