Skip to Content
0

Show cent symbol through i18n

Jul 07, 2017 at 08:30 AM

57

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member
Jul 07, 2017 at 08:56 AM
0
Show 4 Share
10 |10000 characters needed characters left characters exceeded

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=¢
0
Former Member
1

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!

0
Former Member

it is our pleasure to assist you.

Thanks

-D

1