Problems with unicode - cyrilic

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

levros
Posts: 10
Joined: Sun Apr 26, 2009 7:18 am

Problems with unicode - cyrilic

Post by levros »

how do i send messages with cyrilic inside the html version???
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Force the JDBC driver to use UTF-8. To do this, edit file emm.properties in directory

Code: Select all

/home/openemm/webapps/core/WEB-INF/classes
Search for line

Code: Select all

jdbc.url=jdbc:mysql://localhost/openemm
and change it to

Code: Select all

jdbc.url=jdbc:mysql://localhost/openemm?useUnicode=yes&characterEncoding=UTF-8
After that change restart OpenEMM with

Code: Select all

su - openemm
OpenEMM.sh stop
OpenEMM.sh start
exit
OpenEMM Maintainer
levros
Posts: 10
Joined: Sun Apr 26, 2009 7:18 am

Problems with unicode

Post by levros »

"
After that change restart OpenEMM with

Code:
su - openemm
OpenEMM.sh stop
OpenEMM.sh start
exit

"

Where do I write this code?
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

At the Linux shell prompt.
OpenEMM Maintainer
levros
Posts: 10
Joined: Sun Apr 26, 2009 7:18 am

reply to ma

Post by levros »

i have donwloaded the newset version of openemm and istalled it from scratch and now it works with russian :D

the only problem is that all the mails that im sending are identified as spam :(
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

In this case you should use the mail server of your ISP as smart relay. Hopefully, those IP addresses have a better reputation.
OpenEMM Maintainer
levros
Posts: 10
Joined: Sun Apr 26, 2009 7:18 am

Reply to ma

Post by levros »

Hi ma,

I changed the smart relay to a gmail account and it works fine.

i have one more question though,

We are using the latest openemm version (6.0.1) and i installed all the required programs on the same server.

Now we want to separate the MySql DB From the application, so we changed the "openemm.py" and added "-h [ip of the MySql server]" and we changed the "emm.properties" and "agn.py" - replaced localhost with the ip of the MySql server.

But We still getting an error message : "failed to connect to database" after creating the openemm and the openemm_cms database.

Can you help me?
Post Reply