Skip to Content
0
Former Member
Apr 23, 2009 at 09:10 AM

Umlaut in Unicode System

231 Views

Hi guys.

I have used

data:

entity TYPE REF TO if_http_entity,

l_content TYPE string.

WHILE idx <= request->num_multiparts( ).

entity = request->get_multipart( idx ).

idx = idx + 1.

IF entity->get_header_field( '~content_filename' ) IS INITIAL.

CONTINUE.

ENDIF.

l_content = entity->get_cdata( ).

EXIT.

ENDWHILE.

SPLIT l_content

AT cl_abap_char_utilities=>cr_lf

INTO TABLE s_table IN CHARACTER MODE.

But the l_content, which contains Umlaut "ä", show �.

What should I do to convert the umlaut correctly?

Every hint would be highly appreciated!

Regards,

Youyou