cancel
Showing results for 
Search instead for 
Did you mean: 

Show cent symbol through i18n

0 Kudos

Hi,

I'm trying to display currency and sub-currency symbols in my XML view through i18n.

currency=$

subcurrency=¢

The $ shows up correctly in my app but the cent symbol shows up as a question mark.

I've tried using the unicode code for this symbol like so:

subcurrency=/U00A2

subcurrency= & # 162; (without spaces)

subcurrency= & cent; (without spaces)

But these just show up as strings.

Accepted Solutions (1)

Accepted Solutions (1)

former_member182862
Active Contributor
0 Kudos
0 Kudos

Hi, This works if I add it to a control's text property in my XML view, but still shows up as a string if I add it through i18n.

I bind i18n fields in my XML view like so:

text="{model>/amount} {i18n>currency} {model>/subamount} {i18n>subcurrency}"
#i18n
currency=$ subcurrency=¢
former_member182862
Active Contributor
0 Kudos

Hi Dennnis,

Using \u00a2 in i18n works. I can now see the cent symbol through i18n.

#i18n subcurrency symbol
subcurrency=\u00a2

Thank you very much!

former_member182862
Active Contributor

it is our pleasure to assist you.

Thanks

-D

Answers (0)