Login  
Search All Forums
Dart Home | PowerTCP Mail for .NET | Custom Development Reply | PowerTCP Mail for .NET Topics | Forums   
AuthorForum: PowerTCP Mail for .NET
Topic: cp1252 vs windows-1252
Tetranos

From: Aimargues, France
Posts: 16
Member Since: 06/30/10
posted June 30, 2010 7:12 AM

The "Subject" property of the "MessageStream" class fails if the subject use cp1252 code page.

<Exception>
 <Type>System.ArgumentException</Type>
 <Message>'Cp1252' is not a supported encoding name.
Parameter name: name</Message>
</Exception>

If we replace all "cp1252" with "windows-1252" it works :

Subject: =?Cp1252?Q?Modification(s)_WEB_des_dates_d'un_d=E9part_en_cong=E9s_pour_?= =?Cp1252?Q?le_salari=E9_0000176997_effectu?= =?Cp1252?Q?=E9es_par_l'adh=E9rent_0008506815?=
--> KO

Subject: =?windows-1252?Q?Modification(s)_WEB_des_dates_d'un_d=E9part_en_cong=E9s_pour_?= =?windows-1252?Q?le_salari=E9_0000176997_effectu?= =?windows-1252?Q?=E9es_par_l'adh=E9rent_0008506815?=
--> OK
Tetranos

From: Aimargues, France
Posts: 16
Member Since: 06/30/10
posted June 30, 2010 9:54 AM

Encoding.GetEncoding("cp1252") throws the same error...

Can Dart fix this problem replacing "cp1252" by "windows-1252" before calling Encoding.GetEncoding?

Regards,
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted June 30, 2010 11:03 AM

Hello,

Thank you for informing us of this; the issue has been entered as TTWeb issue #5318; we hope to have your issue fixed in the next release. Please contact sales@dart.com for information and updates regarding its status.
Reply | PowerTCP Mail for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX