‎2007 Jun 12 7:28 AM
How do i write UTF convertor in ABAP
Regards,
Jagrut BharatKumar Shkla
‎2007 Jun 12 11:29 AM
you want to convert a string to utf format?
try this code
app_type = 'text/xml; charset=utf-8'.
call function 'SCMS_STRING_TO_XSTRING'
exporting
text = xml_string
mimetype = app_type
importing
buffer = xl_content.
concatenate cl_abap_char_utilities=>byte_order_mark_utf8
xl_content
into xl_content in byte mode.