Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Currency Symbols (Euro, Pound Sterling, etc)

I was wondering how to display currency symbols within app. I've tried to use the HTML codes and HEX codes below for the Euro symbol, but the program just displays the codes - not the Euro symbol. €

var notification = Ti.UI.createNotification()
notification.setMessage('currency: € € €');

Any ideas? Thanks!

— asked June 17th 2010 by John Veldboom
  • android

1 Answer

  • Accepted Answer

    I believe you have to use Unicode entities not HTML entities.

    See http://mindprod.com/jgloss/unicode.html for a list

    Euro would be \u20ac


    — answered June 17th 2010 by Tim Poulsen
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.