Site iso-8859-1 but image in database utf-8

Author Message

Ekkehard Dörre

Thursday 04 August 2005 5:03:23 am

When adding a new image with class image, the content is stored corectly and alt tag is stored in utf-8.
content:

<?xml version="1.0" encoding="UTF-8"?>
<section xmlns:image="http://ez.no/namespaces/ezpublish3/image/"
        xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/"
        xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/">
 <paragraph>sdfsdfsd  </paragraph>
</section>

alt tag:

<?xml version="1.0" encoding="UTF-8"?>
<ezimage serial_number="1"
        is_valid="1"
        filename="dfsdfsdf.png"
        suffix="png"
        basename="dfsdfsdf"
        dirpath="var/bbbiotech/storage/images/it/dfsdfsdf/7313-1-ger-DE"
        url="var/bbbiotech/storage/images/it/dfsdfsdf/7313-1-ger-DE/dfsdfsdf.png"
        original_filename="Slide5.png"
        mime_type="image/png"
        width="2999"
        height="2249"
        alternative_text="Ã&#402;Â&#188;Ã&#402;¶Ã&#402;Â&#164;Ã&#402;¾"
        alias_key="1293033771"
        timestamp="1123156855">
 <original attribute_id=""
           attribute_version=""
           attribute_language="" />
</ezimage>

alternative_text= should be something like üäöß
Where can I adjust it? 3.5.3
Thanks, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Martin Lekvall

Monday 26 September 2005 8:28:35 am

Bug filed at:
http://ez.no/community/bugs/alternative_image_text_and_charset_problem

EzP 3.5.0, OE 2.0
RH-EL3 2.4, mySql 4.1.7, php 4.3.9, apache 1.3.33

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 21 2025 06:12:28
Script start
Timing: Jan 21 2025 06:12:28
Module start 'layout'
Timing: Jan 21 2025 06:12:28
Module start 'content'
Timing: Jan 21 2025 06:12:28
Module end 'content'
Timing: Jan 21 2025 06:12:28
Script end

Main resources:

Total runtime0.0199 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.0054 589.1797151.2266
Module start 'layout' 0.00540.0041 740.406336.6797
Module start 'content' 0.00960.0086 777.085990.3125
Module end 'content' 0.01820.0017 867.398433.9922
Script end 0.0198  901.3906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002512.6581140.0002
Check MTime0.00115.6110140.0001
Mysql Total
Database connection0.00073.487510.0007
Mysqli_queries0.004120.867630.0014
Looping result0.00000.110410.0000
Template Total0.00136.410.0013
Template load0.00104.940410.0010
Template processing0.00031.378510.0003
Override
Cache load0.00073.487510.0007
General
dbfile0.00189.156180.0002
String conversion0.00000.055240.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