Page 1 of 1

.msg files encoding

PostPosted:Thu Mar 20, 2014 1:47 pm
by IVSModern
I've got some troubles with adding into OpenKM .msg files saved from MS Outlook (OpenKM 6.2.5. on Win XP with MySQL 5.5). These files contain text in cyrillic encoding and have to look like:
Right
Right
1.JPG (41.58 KiB) Viewed 5181 times
But in fact I see the next picture:
Wrong
Wrong
2.JPG (17.41 KiB) Viewed 5181 times
Trying different options of saving file in Outlook only brought a correct subject of message (3d doc in list on previous picture).
Outlook configuration have koi8r encoding so I set the same to MySQL and okmdb.
What else can I do to fix this problem?

Re: .msg files encoding

PostPosted:Fri Mar 21, 2014 7:10 pm
by jllort
Let's try to find the problem:
1- is your database Hypersonic? The default one when installing OpenKM.
2- did you create as is explained here http://wiki.openkm.com/index.php/MySQL_-_OpenKM_6.2
3- can you write folder with special characters like á ä etc... ( after refresh are looking right )
4- in setenv.bat do you got in JAVA_OPTS this parameter -Dfile.encoding=utf-8 ?
5- how are you running openkm ( start / stop icons or menu options, from terminal or you configured as service in windows ? )
6- What java version have you installed ( jdk XXX ? )

Re: .msg files encoding

PostPosted:Mon Mar 24, 2014 7:04 am
by IVSModern
1. No, MySQL. Queries directly to database returns OpenKM data
2. I did
3. Yes, I can
1.JPG
1.JPG (24.65 KiB) Viewed 5173 times
4. Yes, I suppose:
set JAVA_OPTS=-Xms128m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.awt.headless=true -Dfile.encoding=utf-8
5. By menu icons.
6. JDK7u45

Re: .msg files encoding

PostPosted:Wed Mar 26, 2014 9:25 am
by pavila
Please, attach a sample .msg to test.

Re: .msg files encoding

PostPosted:Tue Apr 15, 2014 10:13 am
by IVSModern
Excuse me my absence, I kept you waiting...

Re: .msg files encoding

PostPosted:Tue Apr 22, 2014 8:12 am
by pavila
I was able to see the message body in cyrilic, but not the subject. Even importing in Outlook the subjetct is not shown correctly. Please attach an screenshot of the right visualization.

Regards.

Re: .msg files encoding

PostPosted:Thu Apr 24, 2014 4:35 am
by IVSModern
Thanks for your attention to my trouble. Here it is:

Re: .msg files encoding

PostPosted:Tue Apr 29, 2014 7:04 am
by pavila
In my Outlook the subject is not written correctly. Maybe because my Windows is not Russian, but the message body renders correctly. It's quite rare.

Re: .msg files encoding

PostPosted:Wed Apr 30, 2014 12:05 pm
by IVSModern
Does 'rare' mean that my trouble will not be resolved in nearest future? If 'yes' it's sad. Especially because imported into 'e-mail' folder messages looks properly.

Re: .msg files encoding

PostPosted:Thu May 22, 2014 11:56 am
by pavila
The problem about I'm talking about is with Outlook: your message is not renderer in it. If Outlook can't render it, OpenKM won't be able to do it.