Currency Symbols

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
janez72
 
 
Posts: 75
Joined: Wed Sep 17, 2014 3:33 pm

Currency Symbols

Post by janez72 »

If you put in currency symbol € as "Symbol", then in html you get &#8364.
In this case, the character is normally visible on desktop and on mobile phone.

However, if you pot in just € (from keyboard), then in html you get just €.
But in this case, you get weird outcome on mobile phones (tried more phones and more browsers).

Is there a setting for this characters to be properly displayed on mobile?
I have characters normally set to Unicode (UTF-8).
User avatar
Pablo
 
Posts: 23461
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Currency Symbols

Post by Pablo »

I'm sorry, there is no special option for this other that to insert is a symbol.
janez72
 
 
Posts: 75
Joined: Wed Sep 17, 2014 3:33 pm

Re: Currency Symbols

Post by janez72 »

I tried to solve it and found out:
Basic text is "250% Bonus up to 1.000 £/$/€"

- old text file produced html:
<div id="wb_Text183" style="">
<span class="ali1-white">250% Bonus up to <br>1.000 £/$/€</span>
</div>

When I replaced € from kexboard with € from symbols, I got:
<div id="wb_Text182" style="">
<span class="ali1-white">250% Bonus up to <br>1.000 £/$/&#8364;</span>
</div>

As described esarlier, I need to change all these to € signs, to be properly displayed on mobiles.
Dollar sign ($) put in from keyboard is recognised, other currencies not.


BUT, going further, I found out - if I insert a new text file with exactly same properties, I get:
<div id="wb_Text183" style="">
<p style="color:#FFFFFF;"><span style="color:#FFFFFF;"><span class="ali1-white">250% Bonus up to </span><span style="color:#FFFFFF;"><br /></span><span style="color:#FFFFFF;"><span class="ali1-white">1.000 £/$/€</span></p>
</div>

Currency symbols are now normally displayed, even if put in as symbols.
That is good, but the html produced in WB15 with a new text file put in is much longer than it was in WB14.
Is this ment to be so? I guess compressing html would be the idea to optimize pages.
User avatar
Pablo
 
Posts: 23461
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Currency Symbols

Post by Pablo »

You can set the output format in the properties of the text. There are many options.
If you enable 'Responsive fonts' then generated code should be smaller.
Post Reply