Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-11-2008, 06:06 PM
Junior Member
 
Join Date: May 2008
Posts: 4
Default Zend_Currency euro

Hi there,

I have a problem with Zend_Currency, for the euro sign it gives me: â�¬ 19,00 in stead of € 19,00. This is only the case when I use the production server, on debug server the sign is displayed correctly.

This code is used:
Code:
$currency = new Zend_Currency ( 'nl_NL' );
echo $currency->toCurrency ( 19 );
What is the problem here?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-11-2008, 07:26 PM
Junior Member
 
Join Date: Oct 2007
Posts: 27
Default

€ will display incorrectly if your output is not encoded in utf8.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-11-2008, 07:40 PM
Junior Member
 
Join Date: May 2008
Posts: 4
Default

Thank you, that was the problem.. all solved now
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:18 PM.