Filip Majernik
Filip Majernik

Reputation: 7810

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

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.

Upvotes: 5

Views: 12037

Answers (1)

Guillaume Polet
Guillaume Polet

Reputation: 47607

Use the XML/HTML € entity:

€

Upvotes: 24

Related Questions