Forums / Setup & design / Problem with character à (a with accent)

Problem with character à (a with accent)

Author Message

doura 8

Tuesday 20 June 2006 2:58:26 am

Hello,

Excuse me for my bad english...

I've installed EZ Publish 3.8 (php 4.3.10, apache 1.3, mysql 4.19) and used the charset utf8.
I write some text in French and can use the character é,è,ç... but when I write "à", my browser (and my computer) is blocked during few minutes and the text is cut just before the character.
In the database, the ezxmltext is broken too just before this character...

I don't understand what happens...

Thanks for your help...

Kristof Coomans

Tuesday 20 June 2006 5:57:48 am

Welcome to the eZ community!

Have you configured your database to use UTF-8?

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

doura 8

Friday 23 June 2006 9:13:39 am

Hello,

thanks for your answer Kristof but my problem isn't solved.

I've installed PHP 4.4.2 and mysql 4.1 and my database is configured to use UTF-8.
The files site.ini.append.php and i18n.ini.append.php is configured correctly too.

Now, I've a new error message and I see in the file "error.log" :

<i>
eZMySQLDB:
Query error: Data too long for column 'data_text' at row 1. Query: UPDATE ezcontentobject_attribute
SET language_id='4', contentclassattribute_id='120',
attribute_original_id='0', sort_key_int='0', sort_key_string='',
data_type_string='ezxmltext',
data_text='<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<section xmlns:image=\"http://ez.no/namespaces/ezpublish3/image/\"\n xmlns:xhtml=\"http://ez.no/namespaces/ezpublish3/xhtml/\"\n xmlns:custom=\"http://ez.no/namespaces/ezpublish3/custom/\">\n <paragraph>essai à la maison</paragraph>\n</section>', data_int='1045487555', data_float='0.000000'
WHERE id='282' AND contentobject_id='75' AND version='1' AND language_code='fre-FR'
[ Jun 23 2006 17:35:32 ] [127.0.0.1] eZDBInterface::commit TRANSID-c56af9695f7cd4ecbfcb33f98543fa82:
Transaction in progress failed due to DB error, transaction was rollbacked. Transaction ID is TRANSID-c56af9695f7cd4ecbfcb33f98543fa82. </i>

Finally, I've all configured to use latin1 and there is no more problem... but it's not o good solution...

eZ debug

Timing: Jan 21 2025 06:11:43
Script start
Timing: Jan 21 2025 06:11:43
Module start 'content'
Timing: Jan 21 2025 06:11:43
Module end 'content'
Timing: Jan 21 2025 06:11:44
Script end

Main resources:

Total runtime0.2031 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 591.7891180.8281
Module start 'content' 0.00820.0063 772.617293.9297
Module end 'content' 0.01450.1886 866.5469522.6250
Script end 0.2031  1,389.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00401.9563200.0002
Check MTime0.00170.8132200.0001
Mysql Total
Database connection0.00110.529710.0011
Mysqli_queries0.145971.83521410.0010
Looping result0.00160.81181390.0000
Template Total0.188092.510.1880
Template load0.00100.473510.0010
Template processing0.187092.065110.1870
Override
Cache load0.00060.318110.0006
Sytem overhead
Fetch class attribute can translate value0.00140.706410.0014
XML
Image XML parsing0.00040.199310.0004
General
dbfile0.00462.2863200.0002
String conversion0.00000.004030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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