<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Issue with traditional Chinese characters when downloaded in text file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607461#M1662939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sateesh,&lt;/P&gt;&lt;P&gt;This is related to file download and not a issue with printing. I think in my case your solution is not applicable. Though thanks for the reply, it might help in future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2012 11:59:53 GMT</pubDate>
    <dc:creator>premal_mistry2</dc:creator>
    <dc:date>2012-03-27T11:59:53Z</dc:date>
    <item>
      <title>Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607457#M1662935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing an when mixed contents (English &amp;amp;amp; chinese) are downloaded to a text file. The issue is with the material description field.. My main requirement is that the full field length should be preserved when the data is downloaded either in English or Chinese. For that I am making use of offset and passing that internal table to gui_download.. Now for English every thing works fine, but as soon as some Chinese characters appear in the mat desc field the immediate field to its right gets shifted to 3 to 4 characters. Now this is annoying to the customer.. I have made use of codepage 8300 while downloading but it is not serving any purpose apart from translating.. I suspect that this is due to 2 byte storage of unicode characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file output is like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mat1 some description ins eng X 20120326&lt;/P&gt;&lt;P&gt;mat2 &amp;lt;some Chinese text&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X 20120328&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file output should be, even the mat desc is not full 40 chars. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mat1 some description ins eng X 20120326&lt;/P&gt;&lt;P&gt;mat2 &amp;lt;some Chinese text&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X 20120328 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help to resolve this issue would be much appreciated.. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Premal Mistry&#xD;
&#xD;
&#xD;
Guys any help !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 14:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607457#M1662935</guid>
      <dc:creator>premal_mistry2</dc:creator>
      <dc:date>2012-03-26T14:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607458#M1662936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you are downloading as tab delimited file then it is nothing to be considered about, tab delimitations in notepad often do not show the correct spacing. try opening the file in ms excel. if it comes correctly then its fine....&lt;/P&gt;&lt;P&gt;also, for chinese, i think codepage 8400 is best. also set filetype as 'ASC'.&lt;/P&gt;&lt;P&gt;else, see example below....&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin of rec_output2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hkont(10),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dmbtr(18),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "3 decimals&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shkzg,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "S=D others=C&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sgtxt(25),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bewar(1),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "V/I/D&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; waers(5),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end of rec_output2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin of rec_output3,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hkont(10) type x,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dmbtr(18) type x,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "3 decimals&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shkzg type x,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "S=D others=C&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sgtxt(25) type x,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bewar(1) type x,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "V/I/D&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; waers(5) type x,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end of rec_output3,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin of rec_output,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; record(59) type x,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end of rec_output,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it_output like standard TABLE OF rec_output.&lt;BR /&gt;field-SYMBOLS: &amp;lt;fs_output&amp;gt; like line of it_output.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERFORM translate_codepage using rec_output2 rec_output3.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; append INITIAL LINE TO it_output ASSIGNING &amp;lt;fs_output&amp;gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fs_output&amp;gt; = rec_output3.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp; CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_DOWNLOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = p_file&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONFIRM_OVERWRITE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'X'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHANGING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA_TAB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = it_output&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE_WRITE_ERROR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; others&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 24.&lt;BR /&gt;&amp;nbsp; IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;BR /&gt;&amp;nbsp; ENDIF.&lt;BR /&gt; &lt;BR /&gt;*&amp;amp;---------------------------------------------------------------------*&lt;BR /&gt;*&amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Form&amp;nbsp; translate_codepage&lt;BR /&gt;*&amp;amp;---------------------------------------------------------------------*&lt;BR /&gt;* The output file must be fixed lengt file with fixed field lenght, so&lt;BR /&gt;* a special code page translation is required&lt;BR /&gt;* Demo program RSCP0032 is used as inspiration for this rutine&lt;BR /&gt;*----------------------------------------------------------------------*&lt;BR /&gt;FORM translate_codepage using p_recin p_recout.&lt;BR /&gt;&amp;nbsp; FIELD-SYMBOLS: &amp;lt;FS_inFIELD&amp;gt; TYPE ANY,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fs_outfield&amp;gt; type any.&lt;BR /&gt;&amp;nbsp; DATA: conv_obj TYPE REF TO cl_abap_conv_obj,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_FIELDLENGTH TYPE I,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_OUT_XSTRING TYPE XSTRING.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; w_in_codepage = '4103'.&amp;nbsp;&amp;nbsp;&amp;nbsp; "system code page&lt;BR /&gt;&amp;nbsp; w_out_codepage = '8400'.&amp;nbsp; "Chinese code page&lt;/P&gt;&lt;P&gt;&amp;nbsp; DO.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASSIGN COMPONENT SY-INDEX OF STRUCTURE p_recin TO &amp;lt;FS_inFIELD&amp;gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF SY-SUBRC NE 0.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXIT.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASSIGN COMPONENT SY-INDEX OF STRUCTURE p_recout TO &amp;lt;FS_outfield&amp;gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF SY-SUBRC NE 0.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXIT.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DESCRIBE FIELD &amp;lt;FS_inFIELD&amp;gt; LENGTH L_FIELDLENGTH IN CHARACTER MODE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CREATE OBJECT conv_obj&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; incode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = W_in_codepage&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outcode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = W_out_cODEpAGE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ctrlcode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = '.'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sapownch&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = '.'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; invalid_codepage = 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; internal_error&amp;nbsp;&amp;nbsp; = 2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; others&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL METHOD conv_obj-&amp;gt;convert&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inbuff&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &amp;lt;FS_inFIELD&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outbufflg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = L_FIELDLENGTH&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPORTING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outbuff&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = L_out_xstring&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; internal_error = 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOVE L_OUT_XSTRING TO &amp;lt;FS_outFIELD&amp;gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FREE conv_obj.&lt;BR /&gt;&amp;nbsp; ENDDO.&lt;BR /&gt;ENDFORM. " translate_codepage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 10:21:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607458#M1662936</guid>
      <dc:creator>gaurab_banerji</dc:creator>
      <dc:date>2012-03-27T10:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607459#M1662937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Identify the device&lt;/P&gt;&lt;P&gt;Please change the code page(8400) at device level in t-code SPAD difinately it will work. there is no need to change at code level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sateesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 10:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607459#M1662937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-27T10:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607460#M1662938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guarav,&lt;/P&gt;&lt;P&gt;I have used this same example yesterday which I found from SCN. That issue is now solved ... but it has generated new issue.&lt;/P&gt;&lt;P&gt;Now the field value after the mat description is shifting 3 char to left (earlier it was shifting to right)...&lt;/P&gt;&lt;P&gt;mat1 some description ins eng X 20120326&lt;/P&gt;&lt;P&gt;mat2 &amp;lt;some Chinese text&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X 20120328 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 11:58:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607460#M1662938</guid>
      <dc:creator>premal_mistry2</dc:creator>
      <dc:date>2012-03-27T11:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607461#M1662939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sateesh,&lt;/P&gt;&lt;P&gt;This is related to file download and not a issue with printing. I think in my case your solution is not applicable. Though thanks for the reply, it might help in future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 11:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607461#M1662939</guid>
      <dc:creator>premal_mistry2</dc:creator>
      <dc:date>2012-03-27T11:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607462#M1662940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm interesting..&lt;/P&gt;&lt;P&gt;perhaps if you change the font in notepad ( to lucida console, regular, 10) you might see them correctly..&lt;/P&gt;&lt;P&gt;i hope the text looks okay when you open as tab delimited file in excel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 12:57:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607462#M1662940</guid>
      <dc:creator>gaurab_banerji</dc:creator>
      <dc:date>2012-03-27T12:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607463#M1662941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too face the same problem and i too thought that in code we have to change in code nothing will change you can check by changing code also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution is&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;go to SPAD t-code -&amp;gt;click on full admin button-&amp;gt;in device types tab give your device type-&amp;gt;click on display-&amp;gt;go to print controls for&amp;nbsp; SLINE name in control character sequence give 0D0A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your problem will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Sateesh. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 13:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607463#M1662941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-27T13:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607464#M1662942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nopes .. changing font also won't work. In-fact my default font is Lucida Console/regular/10.&lt;/P&gt;&lt;P&gt;Yeah, when I open the same text file in excel with encoding fo traditional chinese the text looks ok. However, please note that the text in notepad is in proper alingement (the way I want), but when I open the same text file in excel it shift's to the left a bit.&lt;/P&gt;&lt;P&gt;My client when tries to open the downloaded text file in notepad on his machine, he can directly see that the text is shifting to left a little bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Premal Mistry&lt;/P&gt;&lt;P&gt;Here's one example ...&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/87712" width="450" /&gt;&lt;/P&gt;&lt;P&gt;As you can see frist screenshot is when text file is opened in excel, just after the mat description you can see that 'X' is not aligned with the upper row. However, in notepad the 'X' is properly aligned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 02:59:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607464#M1662942</guid>
      <dc:creator>premal_mistry2</dc:creator>
      <dc:date>2012-03-28T02:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607465#M1662943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sateesh,&lt;/P&gt;&lt;P&gt;Which device type I should select (I presume SWIN) from the list. I went into the "Print Contro" for SWIN but did not find SLINE in it.&lt;/P&gt;&lt;P&gt;Any advice ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 03:04:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607465#M1662943</guid>
      <dc:creator>premal_mistry2</dc:creator>
      <dc:date>2012-03-28T03:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607466#M1662944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please check the below screen shot which i had changed&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/87888" width="450" /&gt;&lt;/P&gt;&lt;P&gt;above are the changes we have done&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sateesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 09:32:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607466#M1662944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-28T09:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607467#M1662945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sateesh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to confirm that first I need to create a custom device type and make settings that you have shown? &lt;/P&gt;&lt;P&gt;Also how would I make surethat the file that is downloaded will use that device type? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 15:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607467#M1662945</guid>
      <dc:creator>premal_mistry2</dc:creator>
      <dc:date>2012-03-28T15:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607468#M1662946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you have to create 'z' page format before this one and assign the page format to your script or &lt;/P&gt;&lt;P&gt;smartform and also to zdevice type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sateesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 13:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607468#M1662946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-29T13:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with traditional Chinese characters when downloaded in text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607469#M1662947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sateesh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the issue here.&amp;nbsp; My problem is not related to any sort of printing but related to downloading the data in a file.&amp;nbsp; So in that case I cannot use a custom device type which will help in adjusting the characters. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 13:39:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-traditional-chinese-characters-when-downloaded-in-text-file/m-p/8607469#M1662947</guid>
      <dc:creator>premal_mistry2</dc:creator>
      <dc:date>2012-03-29T13:39:56Z</dc:date>
    </item>
  </channel>
</rss>

