I am restructuring a client’s site to allow them access for editing using WebYep and Max’s excellent Action suite. So far, it’s more or less working as planned, but I’ve hit a snag: special characters in long text fields.
I want to use the € Euro character for prices, but it won’t work. I’ve tried adding the proper character encoding to the string of text, and I’ve tried different encodings for the page, but it’s not quite working as expected.
One thing you might check is if you have your Freeway page set to Automatic encoding, or if you have actually set it manually to one of the named encodings. In my experience, the Automatic (still) gets this wrong and either leaves the encoding tag off or sets it to something heinous like ISO Latin 1.
Hi everyone it’s best to match webyep encoding to the page encoding so if you use UTF-8 in your freeway page setup, then make sure you have added this to the config-inc.php (which you can find in the webyep-system folder) open it up in a trext editor and you will find it on line 42… it says
$webyep_sCharset = "";
so you would set it to this
$webyep_sCharset = "utf-8";
You might want to adjust the document type while you are there on line 53 from this
Hi Max,
It might be worth investigating having the action update the config
file directly from the actions palette. The user would select the
webyep system folder and the action should be able to locate and
update the config-inc.php file automatically.
Regards,
Tim.
On 14 Sep 2009, at 17:12, max wrote:
Hi everyone it’s best to match webyep encoding to the page encoding
so if you use UTF-8 in your freeway page setup, then make sure you
have added this to the config-inc.php (which you can find in the
webyep-system folder) open it up in a trext editor and you will find
it on line 42… it says
$webyep_sCharset = "";
so you would set it to this
$webyep_sCharset = "utf-8";
You might want to adjust the document type while you are there on
line 53 from this
Yep I did have it on my long list of things to do but just haven’t had the time… well I am pretty sure that wont make the next release. But I will earmark it for the next one after that.