How to use the currency symbol correctly in PDF

Author Message

Michael D.

Tuesday 02 November 2004 7:27:19 am

When I try to write a product price into a pdf with

{$child.item.data_map.price.data_float|l10n(currency)|wash(pdf)}

€ is displayed.

If I change the "Symbol" entry in eng-GB<b></b>@euro.ini:
----
[Currency]
Symbol=&euro;
Name=Euro
ShortName=EUR
----

to the euro character (AltGr + E), it won't display correctly in the html pages anymore.

How do I make it work in html as well as pdf?

The eZ publish version used is 3.5 - beta.

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 19 2025 01:12:53
Script start
Timing: Jan 19 2025 01:12:53
Module start 'layout'
Timing: Jan 19 2025 01:12:53
Module start 'content'
Timing: Jan 19 2025 01:12:53
Module end 'content'
Timing: Jan 19 2025 01:12:53
Script end

Main resources:

Total runtime0.0141 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.0055 589.2891152.6406
Module start 'layout' 0.00550.0029 741.929739.4922
Module start 'content' 0.00840.0041 781.421985.3828
Module end 'content' 0.01250.0016 866.804730.3047
Script end 0.0141  897.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002215.8087140.0002
Check MTime0.00107.0402140.0001
Mysql Total
Database connection0.00096.121910.0009
Mysqli_queries0.002920.640330.0010
Looping result0.00000.093010.0000
Template Total0.00139.510.0013
Template load0.00074.730110.0007
Template processing0.00074.745310.0007
Override
Cache load0.00053.290910.0005
General
dbfile0.00107.243180.0001
String conversion0.00000.049040.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