German umlaut problem in mail

Author Message

Shoaib Bagdadi

Monday 27 September 2010 6:42:48 am

I have a problem with umlauts that I receive in my email. They are missing. What could be the problem ? My file is utf-without bom. The extension reads a template(tpl) file which is saved in utf-without bom and sends email. The umlauts that someone types in textarea are not coming in email.

Thanks for your help in advance

Christian Rößler

Monday 27 September 2010 10:32:33 am

Hy,

your extension might have to set the character encoding for your mail, so the mail library is capable of encoding the subject and mail body correctly.

If you are using ezComponents within your extension to create and send emails, take a look here: http://ezcomponents.org/docs/tutorials/Mail#character-encoding

Standard ezPublish extensions and the build in mail library (eZP...Mail...something) is able to send german umlauts without any modifications. So here the problem might exist somewhere else.

Let us know,

Chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Shoaib Bagdadi

Saturday 09 October 2010 7:28:50 am

Thanks

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 18 2025 02:06:58
Script start
Timing: Jan 18 2025 02:06:58
Module start 'layout'
Timing: Jan 18 2025 02:06:58
Module start 'content'
Timing: Jan 18 2025 02:07:00
Module end 'content'
Timing: Jan 18 2025 02:07:00
Script end

Main resources:

Total runtime1.2041 sec
Peak memory usage4,096.0000 KB
Database Queries58

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.9141152.6250
Module start 'layout' 0.00610.0025 740.539139.4531
Module start 'content' 0.00861.1940 779.9922529.6641
Module end 'content' 1.20250.0015 1,309.656312.1641
Script end 1.2040  1,321.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2736160.0002
Check MTime0.00130.1074160.0001
Mysql Total
Database connection0.00150.123410.0015
Mysqli_queries1.152695.7211580.0199
Looping result0.00060.0461560.0000
Template Total1.173397.420.5867
Template load0.00200.165520.0010
Template processing1.171397.277320.5857
Template load and register function0.00020.017410.0002
states
state_id_array0.00080.067510.0008
state_identifier_array0.00060.052220.0003
Override
Cache load0.00160.1348170.0001
Sytem overhead
Fetch class attribute can translate value0.00060.048820.0003
Fetch class attribute name0.00150.120740.0004
XML
Image XML parsing0.00060.048820.0003
class_abstraction
Instantiating content class attribute0.00000.001150.0000
General
dbfile0.00090.0716160.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs