Answers.Body: <p>What does <code>cart.currency</code> return?</p>
  
  <p>The Twig <code>currency</code> filter ultimately uses Yii's <a href="http://yiiframework.com/doc/api/1.1/CNumberFormatter#format-detail" rel="nofollow"><code>CNumberFormatter</code></a> class. This uses the symbol you are seeing as a default placeholder for the currency symbol if one cannot be determined from the value of the <code>$currency</code> parameter passed to it. This would indicate that the value of <code>cart.currency</code> is not as expected. You'll need to make sure that the <code>cart</code> variable is being set correctly in your template, then this should work.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-09T10:44:54.803Z
Answers.LastActivityDate: 2016-08-09T10:44:54.803Z
Answers.UserDisplayName: Steve Rowling
Answers.Body: <p>As <a href="https://craftcms.stackexchange.com/questions/16267/craft-commerce-not-outputting-%E2%82%AC-symbol#comment22613_16267">Steve mentions</a>, most likely this is because the font you are using on the front-end of your site doesn't know how to display the € symbol.</p>
  
  <p>I just tested on a fresh Craft/Commerce install on OSX/Chrome and the default Commerce templates display € as expected.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-09T09:40:20.577Z
Answers.Text: See reply to Steve above.
Answers.UserDisplayName: Clive Portman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-09T17:46:18.087Z
Answers.Text: Once again, I bow to @SteveRowling's superior knowledge.
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-09T03:07:09.567Z
Answers.LastActivityDate: 2016-08-09T03:07:09.567Z
Answers.UserDisplayName: Brad Bell
Body: <p>Within Settings, the cart currency is set to Euros. But when I use:</p>
  
  <pre><code>{{ product.defaultVariant.price | currency(cart.currency) }}
  </code></pre>
  
  <p>The output is:</p>
  
  <pre><code>¤150.49
  </code></pre>
  
  <p>Anyone encountered this before?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-08T18:08:21.430Z
Comments.Text: Is this perhaps related to the font you are using to show the currency in front-end templates? Have you tried using different fonts to see if the problem persists?
Comments.UserDisplayName: Steve Rowling
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-09T09:40:08.997Z
Comments.Text: No, I don't think so. I'm just using Arial and it's in the page source.
Comments.UserDisplayName: Clive Portman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-09T10:07:51.340Z
Comments.Text: What does `cart.currency` return? Looking through the code, the Twig `currency` filter ultimately uses Yii's `CNumberFormatter` class. This uses the symbol you are seeing as a default placeholder for the currency symbol if one cannot be determined from the value of the `$currency` parameter passed to it. See here: http://www.yiiframework.com/doc/api/1.1/CNumberFormatter#format-detail This would indicate that the value of `cart.currency` is not as expected. How is this being set?
Comments.UserDisplayName: Steve Rowling
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-09T10:41:21.093Z
Comments.Text: Good point. That was the problem. I'd not included {% set cart = craft.commerce.cart %} anywhere so the cart was missing. Do you want to add that as an answer and I'll mark it as accepted?
Comments.UserDisplayName: Clive Portman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-09T10:46:10.023Z
Comments.Text: Great! I've added is as an answer now.
Comments.UserDisplayName: Steve Rowling
Tags: <plugin-craftcommerce>
Title: Craft Commerce not outputting € symbol
ThreadText: # Craft Commerce not outputting € symbol
  
  (Asked by: username_0 on 2016-08-08)
  
  Within Settings, the cart currency is set to Euros. But when I use:
  
  ```
  {{ product.defaultVariant.price | currency(cart.currency) }}
  
  ```
  
  The output is:
  
  ```
  ¤150.49
  
  ```
  
  Anyone encountered this before?
  
  **Tags:** plugin-craftcommerce
  
  > **Comments:**
  > **username_1**: Is this perhaps related to the font you are using to show the currency in front-end templates? Have you tried using different fonts to see if the problem persists?  
  > **username_0**: No, I don't think so. I'm just using Arial and it's in the page source.  
  > **username_1**: What does `cart.currency` return? Looking through the code, the Twig `currency` filter ultimately uses Yii's `CNumberFormatter` class. This uses the symbol you are seeing as a default placeholder for the currency symbol if one cannot be determined from the value of the `$currency` parameter passed to it. See here: http://www.yiiframework.com/doc/api/1.1/CNumberFormatter#format-detail This would indicate that the value of `cart.currency` is not as expected. How is this being set?  
  > **username_0**: Good point. That was the problem. I'd not included {% set cart = craft.commerce.cart %} anywhere so the cart was missing. Do you want to add that as an answer and I'll mark it as accepted?  
  > **username_1**: Great! I've added is as an answer now.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2016-08-09. Score: 2 | Accepted answer
  
  What does `cart.currency` return?
  
  The Twig `currency` filter ultimately uses Yii's [`CNumberFormatter`](http://yiiframework.com/doc/api/1.1/CNumberFormatter#format-detail) class. This uses the symbol you are seeing as a default placeholder for the currency symbol if one cannot be determined from the value of the `$currency` parameter passed to it. This would indicate that the value of `cart.currency` is not as expected. You'll need to make sure that the `cart` variable is being set correctly in your template, then this should work.
  
  
  ---
  
  ### Answer by username_2 on 2016-08-09. Score: 0
  
  As [username_1 mentions](https://craftcms.stackexchange.com/questions/16267/craft-commerce-not-outputting-%E2%82%AC-symbol#comment22613_16267), most likely this is because the font you are using on the front-end of your site doesn't know how to display the € symbol.
  
  I just tested on a fresh Craft/Commerce install on OSX/Chrome and the default Commerce templates display € as expected.
  
  > **Comments:**
  > **username_0**: See reply to username_1 above.  
  > **username_2**: Once again, I bow to @username_1's superior knowledge.  
  
  ---
  
  