How to encode a Euro symbol into strings.xml in android XML files

11,602

Use the XML/HTML € entity:

€
Share:
11,602
Filip Majernik
Author by

Filip Majernik

I am a passionate coder specialised in enterprise frameworks (Java, JEE, BPMN/BPEL, WebServices) with a strong security background, especially XML security (WS-Security, XML-Encryption, XML-Signature, etc...). I am also interested in the mobile App development with the Android SDK and iOS.

Updated on June 13, 2022

Comments

  • Filip Majernik
    Filip Majernik almost 2 years

    I thought, that this is gonna be pretty easy to find out. However, google is giving me just bad results. Please, does anyone know how can I write a Euro symbol into a strings.xml value? I still get an exception that such value is not allowed. Thanks.

  • nanonerd
    nanonerd about 9 years
    All codes here: en.wikipedia.org/wiki/… - use the Unicode Code Point (decimal) ... it's the "decimal" number in the parenthesis ... e.g., for quote, you can use "