KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: costis on September 01, 2009, 11:12:59 am

Title: utf-8 Email Subject Encoding
Post by: costis on September 01, 2009, 11:12:59 am
Congratulations for the 4.1.0.0 version!
Works great!
I love that a language-change updates now also the product-category-tile correctly. Also
the currency option is very convenient.

A question: Is there a way to get the email subject encoding to become like this:
....
Subject: =?utf-8?B?zrXOu867zrfOvc65zrrOrA==?
....


This is what i get now:
Message-ID: <12855656.0.1251797799296.JavaMail.costis@gonzales>
Subject: =?Cp1252?B?Pz8/Pz8/Pz8/Pz8gPz8/Pz8/Pz8/Pz8gPz8/IEtvbmFLYXJ0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8

The message body is correct and fine, but the Subject shows unprintable characters if i use a
language other than english.

Thank you
costis
Title: Re: utf-8 Email Subject Encoding
Post by: trevor on September 01, 2009, 11:15:49 am
What API call are you using ?
Title: Re: utf-8 Email Subject Encoding
Post by: costis on September 01, 2009, 11:20:11 am
this happens when i send email to a customer through the Admin Application,
as well as the automatically generated email when one places an order i.e.
Title: Re: utf-8 Email Subject Encoding
Post by: julie on September 02, 2009, 01:22:47 pm
Try this temporary patch out to see whether it fixes your problem. You need to create a new directory under the konakart web app and the konakartadmin web app. The directory should be:

WEB-INF/classes/com/konakart/bl/

You need to put the attached classes (in the zip file) under these directories and then re-start Tomcat.
Title: Re: utf-8 Email Subject Encoding
Post by: costis on September 02, 2009, 11:39:31 pm
WOW!

Works very well this way!
Thank you very much!

Subject: =?UTF-8?Q?=CE=97=CE=BB=CE=B5=CE=BA=CF=84=CF=81=CE=BF?=
=?UTF-8?Q?=CE=BD=CE=B9=CE=BA=CF=8C_=CE=A4=CE=B1?=
=?UTF-8?Q?=CF=87=CF=85=CE=B4=CF=81=CE=BF=CE=BC=CE=B5?=
=?UTF-8?Q?=CE=AF=CE=BF_=CE=B1=CF=80=CF=8C_M?=
=?UTF-8?Q?inoan_Rings_-_Matthaios_Jewels?=