cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong encoding in Email

Former Member
0 Kudos

Hello.

I have a problem with text encoding (russian text) when I try to create email in SOLAR_LEARNING_MAP transaction. New Outlook window opens with wrong character.

Dmitry.

Accepted Solutions (0)

Answers (9)

Answers (9)

khalil_serrhini
Contributor
0 Kudos

Hey Dmitry

one last thing in case you did not see this SAP Note, i think you should have a look

https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=381028

It talks about your case i guess !

Good luck

Edited by: Khalil SERRHINI on Jul 27, 2010 1:41 PM

khalil_serrhini
Contributor
0 Kudos

Hello Dmitry,

i am not sure i understood correctly. Are you saying that by mean of F8 in SE80 the BSP works correctly (you have russian characters in email title) and that the same test from solar_learning_map fails ?

If that s the case that would mean that problem comes definitely from SAP side cause you could have an email opened from SAP system with russian characters.

I don t see any other option for you than opening an OSS Message explaining this to SAP and how you have different results by testing same functionality with 2 different ways !!

Sorry could nt help more

Good luck with that and keep us updated !!

Regards

Khalil

Former Member
0 Kudos

Thank you, Khalil

khalil_serrhini
Contributor
0 Kudos

Hey

Did you test by launching transaction or by executing BSP ?

I would like you to test in transaction SE80.

If you do not reach your breakpoint please take a look to section Activities of this page

http://help.sap.com/saphelp_erp2004/helpdata/en/17/00ab3b72d5df3be10000000a11402f/frameset.htm

Khalil

khalil_serrhini
Contributor
0 Kudos

Hey Dmitry again

can u please

1. go to SE80 and search for BSP Applicaytion called 'LEARNING_MAP'

2. go to Pages with Flow Logic and double click on deploy.htm

3. you ll see on tab layout the code of the BSP

4. put a break point at line 172: link.href = 'mailto:<%=Email%>?subject=<%= otr(ai_solar_learning_en/learning_map_for) %> <%= learning_map_title%>&body=<%=learning_map_url_body%>%0d<%= otr(ai_solar_learning_en/please_paste_clipboard2) %>' ;

This is where title of your email is set

5. execute code thanks to keyboard key F8

6. when debugger stops at line 172, change value of variable LEARNING_MAP_TITLE and please put russian characters and validate change by hitting Enter Key

7. execute the code until the end thank to F8

8. you ll see email created on outlook

9. What do you see ? Do you have russian characters ?

Regards

Khalil

Former Member
0 Kudos

System does't interact on my breakpoint

Former Member
0 Kudos

I have tried to do this on my colleague's computer and it is all ok. The mail configured on russian when we execute bsp page by means of F8. But when we try once more to do the same by SOLAR_LEARNING_MAP encoding still being wrong...

khalil_serrhini
Contributor
0 Kudos

Hello Dmitry,

could please make sure that in your outlook options the message format is set to Rich Text and that the Outlook Rich Text options is set to 'Convert to HTML format'

Can you also set the default internet browser to Internet Explorer if that s not the case.

The last screen before sending e mail is based on BSP techno (and it checks kind of browser used)

Khalil

Former Member
0 Kudos

Khalil

I have checked and fixed all parameters you say me, but unfortunately this problem doesn't solved

khalil_serrhini
Contributor
0 Kudos

Hello Again,

please confirm that by putting a break point in form set_title_deployment (include LSA_LEARNING_MAPF01 : SE38 Transaction) at

line 88: 'SET TITLEBAR 'TITLE_0101' WITH l_title.: variable l_title contains the description of your learning map (in russian)

Khalil

Former Member
0 Kudos

Yes. Value of l_title is in russian...

Dmitry.

khalil_serrhini
Contributor
0 Kudos

Hello Dmitry

could you please put a break point in include LSA_LEARNING_MAP_DET_VIEWO17 at begining of module MODULE status_0501 OUTPUT.

Then launch transaction again, by clicking on Send to Users once you are in your learning map; you should see yourself at the defined breakpoint !

Please check that global variable G_0300_MAP_TITLE contains explicit russian characters (it is the case for me).

If that s the case for you too; i guess that will mean that problem comes from Outlook and not Solman

Hope this helps !

Regards

Khalil

Former Member
0 Kudos

During debuging I can see only HEX values of G_0300_MAP_TITLE variable. Field "Value" is empty

khalil_serrhini
Contributor
0 Kudos

Hello Dmitry,

could please confirm that this problem occurs only with Russian.

Is like English for example working well?

Regards

Khalil

Former Member
0 Kudos

Yes. On English this functionality working well

RajeevP
Advisor
Advisor
0 Kudos

Hi,

Does your issue related with Note 667279 - Question marks instead of text in subject line of an email?

Rajeev

Former Member
0 Kudos

No, it is not a question-marks. My characters like this: Рu2019СЃСu201AавьСu201AРµ СЃРІРѕР№ Р±СѓСu201Eер обмена Рu2022десь

RajeevP
Advisor
Advisor
0 Kudos

Hi,

A wild guess, but worth a try, I believe..

Could you try changing the encoding format of your outlook to Cyrillic(KOI8-R) ?

in the main menu, go to Tools/Options and then go to "Mail Format" tab -- there, click on "International Options" button ---

in the field "Use this encoding for outgoing messages" choose needed Russian encoding - Cyrillic(KOI8-R) or Cyrillic(Windows) .

Let me know how it goes..

Rajeev

Former Member
0 Kudos

I have already Cyrillic(KOI8-R). And windows doesn't allow me to change it on Cyrillic (Windows).

Former Member
0 Kudos

Not sure but might be useful:

SCOT->SMTP->Internet->Set->PDF will help in diagnosing the issue.

BR