'x-gbk' is not a supported encoding

I add x-gbk for jdk7, so i can use Charset.forName("x-gbk") in my program.
But when i add msg or eml to PST, it's show the following exception ( aspose-email-3.6.0)
PS. the attach file includ test.msg with x-gbk encoding and jcharset.jar for x-gbk, other encoding.

the same as aspose-email.3.5.0 bug fix NETWRKJAVA-33315 GBK is not a supported encoding,

Exception in thread "main" com.aspose.email.ms.System.IllegalArgumentException: 'x-gbk' is not a supported encoding
at com.aspose.email.private.h.d.b(Unknown Source)
at com.aspose.email.nz.e(Unknown Source)
at com.aspose.email.MailAddress.(Unknown Source)
at com.aspose.email.jy.b(Unknown Source)
at com.aspose.email.MailAddressCollection.b(Unknown Source)
at com.aspose.email.MailAddressCollection.a(Unknown Source)
at com.aspose.email.gj.a(Unknown Source)
at com.aspose.email.HeaderCollection.a(Unknown Source)
at com.aspose.email.od.c(Unknown Source)
at com.aspose.email.od.a(Unknown Source)
at com.aspose.email.od.b(Unknown Source)
at com.aspose.email.MailMessage.f(Unknown Source)
at com.aspose.email.MailMessageInterpretor.loadMessageHeader(Unknown Source)
at com.aspose.email.MailMessageInterpretor.interpret(Unknown Source)
at EmlToPST.msgToEml(EmlToPST.java:65)
at EmlToPST.main(EmlToPST.java:43)

public void msgToEml(String msgFile, String emiFile) {
// Open Outlook Message files
MapiMessage mapi = MapiMessage.fromFile(msgFile);

System.out.println("Unicode ok:" + mapi.isStoreUnicodeOk());

MailMessageInterpretorFactory.getInstance()
.getIntepretor(mapi.getMessageClass()).interpret(mapi) <----- exeption here
.save(emiFile, MessageFormat.getEml());

System.out.println("Write eml successful...");
}


Another code:

MailMessageLoadOptions options = new MailMessageLoadOptions();
options.setMessageFormat(MessageFormat.getEml());
options.setFileCompatibilityMode(FileCompatibilityMode.AllowCROnly);
options.setPrefferedTextEncoding(Charset.forName("x-gbk"));
MailMessage eml = MailMessage.load(emlFile, <--- exception here
options);

Hi Chang,


We regret the inconvenience caused to you in this regard.

I was able to reproduce this issue at my end using the latest version of Aspose.Email for Java 3.7.0 and have logged it as NETWRKJAVA-33336 in our issue tracking system for further investigation by our development team. This thread has been linked with the logged ticket so that once there is some update available in this regard, you’ll be notified here.

Dear Kashif:


How long we’ll get the fix version? Out project have time limit = =…SOS!

Thanks

Hi Chang,


Thanks for writing us back.

I have checked the ticket status and would like to share that this issue is under consideration by the developers and as per current plans, it is scheduled to be resolved in our upcoming release in first week of Feb 2014. I will write back here as soon as any update is available on the ticket.

Your patience and understanding is highly appreciated in this regard.

The issues you have found earlier (filed as NETWRKJAVA-33336) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

Dear Kashif:


Do you have try to transfer sample eml to pst with version 3.8? Transfer doesn’t have error, but sub part of mail can’t be opened.
Like attach eml1.png the first part transfer well. But when you open the sub part eml, it’s fail open. see attach eml2_fail.png.

It is success to open sub part with the sample eml.


Thanks your help.

Hi Chang,


We are sorry for the inconvenience caused to you.

After testing this issue at my end with the latest version of Aspose.Email for Java 3.8.0, I was able to observe the problem that you have identified and have logged it as NETWRKJAVA-33353 in our bug tracking system for further consideration and rectification by the development team. We’ll update you here once there is a fix version or any information available in this regard.

The issues you have found earlier (filed as NETWRKJAVA-33353) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.