Chinese characters - characterset wrong
Moderator: moderator
-
- Posts: 19
- Joined: Mon Mar 09, 2009 8:47 pm
Chinese characters - characterset wrong
HI there,
I would like to send newsletters in chinese. Unfortunatelly one can not save text in chinese with openemm. This is most likely sinnce the database tables are not set to unicode.
I tried to find the table where the html newsletter is saved, but could not find it! Where are the mailing contents saved in which table? I looked at all structures without success.
If I could find it, I could change the char set to unicode and fix it.
Thank you for any help!
I would like to send newsletters in chinese. Unfortunatelly one can not save text in chinese with openemm. This is most likely sinnce the database tables are not set to unicode.
I tried to find the table where the html newsletter is saved, but could not find it! Where are the mailing contents saved in which table? I looked at all structures without success.
If I could find it, I could change the char set to unicode and fix it.
Thank you for any help!
Johannes Siebert
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
You can find a description of the OpenEMM tables and fields here:
http://www.openemm.org/fileadmin/docs/O ... le-Doc.txt
Content is stored in tables "component_tbl" and "dyn_content_tbl". Both tables are defined as UTF-8 tables (see seed file openemm.sql).
Another tip: Force the JDBC driver to use UTF-8. To do this, edit file emm.properties in directory
Search for line
and change it to
After that change restart OpenEMM with
http://www.openemm.org/fileadmin/docs/O ... le-Doc.txt
Content is stored in tables "component_tbl" and "dyn_content_tbl". Both tables are defined as UTF-8 tables (see seed file openemm.sql).
Another tip: 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
Code: Select all
jdbc.url=jdbc:mysql://localhost/openemm
Code: Select all
jdbc.url=jdbc:mysql://localhost/openemm?useUnicode=yes&characterEncoding=UTF-8
Code: Select all
su - openemm
OpenEMM.sh stop
OpenEMM.sh start
exit
Last edited by maschoff on Mon Jun 15, 2009 10:57 am, edited 1 time in total.
OpenEMM Maintainer
-
- Posts: 7
- Joined: Mon Jun 15, 2009 6:48 am
-
- Posts: 7
- Joined: Mon Jun 15, 2009 6:48 am
-
- Posts: 7
- Joined: Mon Jun 15, 2009 6:48 am