Special characters in HTML editor

Forum to discuss the Web client version of Servoy.

Special characters in HTML editor

Postby vincentc » Thu Aug 02, 2012 11:45 am

Hello,

Our customer works in WebClient only.

They use a module for sending e-mail that we have developed them (with Servoy 6.0.5).

As input field of the message, we use an editable field HTML_AREA. So we have the HTML editor by default (based on YUI 3 I think), which has existed since the version 6 of Servoy.

The problem we have concerns special characters in HTML editor, especially the character "•".

For example, when we send it:
• • • • • • • • • • • • • • • • • • • • • • • • •
test signature
• • • • • • • • • • • • • • • • • • • • • • • • •

We receives it:
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
test signature
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

Do you know a way to circumvent this problem?

Thank you very much in advance.
vincentc
 
Posts: 56
Joined: Thu Aug 25, 2011 11:12 am

Re: Special characters in HTML editor

Postby omar » Thu Aug 02, 2012 11:29 pm

Hi,

This is related to the character set that is specified in the HTML. To support allmost all characters use the UTF-8 characterset. In the header of your HTML mail you should include a line like this:

Code: Select all
<meta http-equiv="content-type" content="text/html;charset=utf-8">


Hope this works for you.
Intrasoft, Founder
Omar van Galen
omar@intrasoft.nl
+31-(0)6-21234586
Servoy Developer
omar
 
Posts: 377
Joined: Sat Feb 12, 2011 4:51 pm
Location: Intrasoft, The Netherlands

Re: Special characters in HTML editor

Postby vincentc » Tue Sep 25, 2012 3:10 pm

It works great, many thanks!
vincentc
 
Posts: 56
Joined: Thu Aug 25, 2011 11:12 am


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 6 guests

cron