Diacritic characters get lost in emails sent from Ebase

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

User avatar
Vanessa
Forum Admin
Forum Admin
Posts: 34
Joined: Thu Sep 06, 2007 4:23 pm
Location: Sandy, UK
Contact:

Diacritic characters get lost in emails sent from Ebase

#1

Postby Vanessa » Mon Dec 10, 2007 5:16 pm

Problem
When the body of an email resource contains diacritic characters e.g. characters with accents, they appear as spaces in the recipients' emails even though they appear correctly in the email resource.

Examples of some of the characters that are not displayed correctly in recipients' emails:

à á â ã ä å ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ ß ¿ ¡
À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß € » «

What can be done to solve this?

Solution
Set the following java system property on the Ebase server (note the hyphen before the 'D'):

Code: Select all

-Dmail.mime.charset=ISO-8859-1
On Windows, this setting can be added to the JAVA_OPTS in ebase_start_server.bat or JavaOptions in the service.bat file if Tomcat is running as a Windows Service.

On Linux, this setting can be added to the JAVA_OPTS in the start.sh file.
0 x

Who is online

Users browsing this forum: No registered users and 2 guests