SAP Note 752835 - Usage of the file interfaces in Unicode systems

Component : I18N Unicode -

Solution : https://service.sap.com/sap/support/notes/752835 (SAP Service marketplace login required)

Summary :
SAP Note addresses issues users face when reading files with encoding discrepancies in Unicode systems. Applications should allow users to select file encodings for reading and writing, offering UTF-8 and non-Unicode options. The application server side requires implementation of interface options for these selections, while the frontend should utilize cl_gui_frontend_services=>file_open/save_dialog for encoding specifications. Proper encoding handling prevents CONVT_CODEPAGE exceptions and character misrepresentations. As a temporary fix, ABAP tool RSCP_CONVERT_FILE can correct file encoding, though a user-driven selection is preferred for long-term resolution.

Key words :
uc  radiobutton group enco default 'x', service method cl_gui_frontend_services=>file_open/save_dialog, pre-unicode times transfering text, call method cl_gui_frontend_services=>file_open_dialog  exporting, open dataset statement text data, function module gui_upload/download  provide, nuc radiobutton group enco, good implicit default handling, call function 'gui_upload'  exporting, function module gui_upload/download

Related Notes :

1319517Unicode Collection Note
1312142Data transfer: Runtime error CONVT_CODEPAGE
1071731Unicode C-programs and access to OS environment
1066952Working with legacy data files in LSMW (Unicode, BOM, FTP)
1008640RMDATIND: Conversion error for different code page
980033Short dump for the import of a credit card file
910419UPLOAD/DOWNLOAD for ABAP source code and screens
873901General billing interface and Unicode
788449Byte-order Marks in UTF-8 Files
752859sapiconv - a tool for converting the encoding of files
747615Tool for converting files from one code page to another
27Recommendations for the ABAP file interface