« Back to General Discussion - All Versions

How to send a Russian text via an Email element?

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi all,
 
We are trying to send a Russian text via an Email element in our CVP Call Studio app. Sending itself works fine. (Thanks to Nathan Galloway for advices as for configuring JAVAMAIL in CVP.) However a message with the Russian text is encoded with CP1252 instead of UTF-8. Because of this the Russian text in the subject and message body looks as "???...".
Does anybody know how to encode an email message with UTF-8?
 
Our environment:
CVP 7.0(2) with a Cisco C2851 VoiceXML Gateway, Nuance Speech Server 5.0.2, Nuance ASR 9.0.3 with the Russian language pack, and Nuance TTS 4.5 with the Russian language pack integrated.
 
The General Settings of app's Properties contain ru-RU in the parameter Language and UTF-8 in the parameter Encoding. In addition the parameter Text file encoding on the Info tab of app's Properties is set to UTF-8.
 
Here is a message with a Russian text received by an email client:
 
Received: from cvpserver ([172.18.96.64]) by ipcc-dc1.ipcc.local with Microsoft SMTPSVC(6.0.3790.3959);
  Sun, 11 Jul 2010 18:34:53 +0300
Date: Sun, 11 Jul 2010 18:47:42 +0300 (EEST)
From:
cvp@incom.ua
To: ipccweimservice@ipcc.local
Message-ID: <10419274.3.1278863262546.JavaMail.SYSTEM@cvpserver>
Subject: =?Cp1252?B?Pz8/Pz8/Pz8=?=
MIME-Version: 1.0
Content-Type: text/plain; charset=Cp1252
Content-Transfer-Encoding: 7bit
X-Mailer: Cisco Unified CVP VXML Server
Return-Path:
cvp@incom.ua
X-OriginalArrivalTime: 11 Jul 2010 15:34:53.0734 (UTC) FILETIME=[9BCCCC60:01CB210E]
?????? ?????????
2BFE473D8C3A11DF830D99A1E6CCCE5B

 
Please note email messages with a Russian text are correctly encoded in Cisco Unified E-Mail Interaction Manager 4.3 we are using. Here is a message with a Russian text received from CUWEIM 4.3:
 
Received: from ipcc-weim1 ([172.18.96.244]) by ipcc-dc1.ipcc.local with Microsoft SMTPSVC(6.0.3790.3959);
  Mon, 5 Jul 2010 18:30:54 +0300
Date: Mon, 5 Jul 2010 15:27:32 +0000 (GMT)
From: Default <
ipccweimservice@ipcc.local>
To:
ipccweimservice@ipcc.local
Message-ID: <2653016.0.1278343653275.JavaMail.ipccweimservice@ipcc-weim1>
Subject: =?UTF-8?B?Q2lzY28gRFNNIOKAlCDRg9GB0L/QtdGI0L3Ri9C5INC/0LXRgNC10Lc=?=
 =?UTF-8?B?0LDQv9GD0YHQuiDRgdC70YPQttC10LHQvQ==?=
 =?UTF-8?B?0L7Qs9C+INC/0YDQvtGG0LXRgdGB0LAh?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64
Return-Path:
ipccweimservice@ipcc.local
X-OriginalArrivalTime: 05 Jul 2010 15:30:54.0796 (UTC) FILETIME=[0EE740C0:01CB1C57]
0JrQvtC80L/QvtC90LXQvdGCIENpc2NvIERTTSDQvtCx0L3QsNGA0YPQttC40LssINGH0YLQviDQ
siDRgdC70LXQtNGD0Y7RidC10Lwg0YHQu9GD0LbQtdCx0L3QvtC8INC/0YDQvtGG0LXRgdGB0LUg
0L/RgNC+0LjQt9C+0YjQu9CwINC+0YjQuNCx0LrQsC4g0JrQvtC80L/QvtC90LXQvdGCIENpc2Nv
IERTTSDRg9GB0L/QtdGI0L3QviDQt9Cw0L/Rg9GB0YLQuNC7INC/0L7QstGC0L7RgNC90L4g0YHQ
u9GD0LbQtdCx0L3Ri9C5INC/0YDQvtGG0LXRgdGBLg0K0JjQtNC10L3RgtC40YTQuNC60LDRgtC+
0YAg0L/RgNC+0YbQtdGB0YHQsDogMTAwMw0K0JjQvNGPINC/0YDQvtGG0LXRgdGB0LA6IHNzLWFy
dGljbGUtcmF0aW5nLXByb2Nlc3M=

 
Please note the body of this message is encoded with UTF-8 and base64.
 
Thanks.
 
Igor
 

I haven't use the Email element with other language before. But have one question. Have you tried to pass Russian text from some Session variables to the Message body? You know we can encode/decode text in Java elements as you like. Maybe you can have a try.

I haven't use the Email element with other language before. But have one question. Have you tried to pass Russian text from some Session variables to the Message body? You know we can encode/decode text in Java elements as you like. Maybe you can have a try.

 
Hi Tieying,
 
Thanks for your response.
Yes, I tried your proposal. Unfortunately the result is the same, i.e. I am getting "???...???" instead of a Russian text.
 
Thanks.
 
Igor



I haven't use the Email element with other language before. But have one question. Have you tried to pass Russian text from some Session variables to the Message body? You know we can encode/decode text in Java elements as you like. Maybe you can have a try.


 
Hi Tieying,
 
Thanks for your response.
Yes, I tried your proposal. Unfortunately the result is the same, i.e. I am getting "???...???" instead of a Russian text.
 
Thanks.
 
Igor


I believe the email element uses local smtp server to send this. You can write your own  java class to send this and see if u get same results.  In that case try troubleshooting on the smtp server.
Hemal


Hi Tieying,
 
Thanks for your response.
Yes, I tried your proposal. Unfortunately the result is the same, i.e. I am getting "???...???" instead of a Russian text.
 
Thanks.
 
Igor

Hi Igor, do you have a valid DS contract with Cisco? If yes, please open a DS case, I will ask BU to verify if the Email element supports Russian text.
 


I believe the email element uses local smtp server to send this. You can write your own  java class to send this and see if u get same results.  In that case try troubleshooting on the smtp server.
Hemal

 
That's always the solution if the CVP built-in element doesn't support a featureemoticon





I haven't use the Email element with other language before. But have one question. Have you tried to pass Russian text from some Session variables to the Message body? You know we can encode/decode text in Java elements as you like. Maybe you can have a try.


 
Hi Tieying,
 
Thanks for your response.
Yes, I tried your proposal. Unfortunately the result is the same, i.e. I am getting "???...???" instead of a Russian text.
 
Thanks.
 
Igor



I believe the email element uses local smtp server to send this. You can write your own  java class to send this and see if u get same results.  In that case try troubleshooting on the smtp server.
Hemal


Hi Hemal,
 
Thanks for your response.
Please note we are using the same smtp server for both CVP and CUWEIM.
 
Thanks.
 
Igor

Hi Igor,
 
I escalated the question to the DE team. The DE think it depends on the region and character set specified on the VXML Server. 
What does it show under the regional and language options in the windows control panel?

Hi Igor,
 
I escalated the question to the DE team. The DE think it depends on the region and character set specified on the VXML Server. 
What does it show under the regional and language options in the windows control panel?


Hi Tieying,
 
In the Regional and Language Settings the language is set to Russian.
 
Thanks.
 
Igor


Hi Tieying,
 
In the Regional and Language Settings the language is set to Russian.
 
Thanks.
 
Igor

How about other settings in the Regional and Language Settings? Are all set to Russian?

Hi Igor,
 
Please open a TAC case. They should have the answer readily available.