cancel
Showing results for 
Search instead for 
Did you mean: 

CL_GUI_HTML_VIEWER + Unicode Post data

Former Member
0 Kudos

Hi all,

I'm working on a program and we have a html_viewer control to display some data at the bottom of the screen.

until now we've had a lot of problems with unicode, ie, the info would be ok in englisch, but not in polish, or swedish..

the only way I found to make it work reliable is to convert my page to utf-8 with the help of CL_ABAP_CONV_IN_CE and sending the data to the control in binary form (load_data w/ utf-8).

now the problem is that users should be able to edit some of the info and save it, so I thought of using the SAPEVENT from the viewer class by submiting a form and catching the event in my program, but when the data entered contains "non-standard" chars (for example PL ), the data in the query_table and postdata is corrupted, and the polish chars are replaced by wierd things...

Does anyone know how to post unicode data from a html form and get in in the event from the class cl_gui_html_viewer ?

I had a look at the program SAPHTML_EVENTS_DEMO, but that does not work either.. ie, try to enter polish chars in the name and press "submit" and you get wrong chars in the fields at the top of the screen.

thanks.

Luis De la Parra

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Luis,

do you have a solution?

Regards,

Vlad