<?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: CONVT_CODEPAGE runtime error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917814#M1691179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas, thanks for your suggestion. I tried BINARY mode but it did not work out correctly. The file appears like below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;###†###################†††††††††††††††††††††††††####†††††††††††††††††††††###††#†#####†††††††††††††††††††††††††††††††††††††††††††††######†###††††††††††††††††††††††††††††††††††††††††††††††††#######††††††††††††††††††††††††††††††††††††††††††††††††††††††††#######†††###&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2012 09:24:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-07-11T09:24:11Z</dc:date>
    <item>
      <title>CONVT_CODEPAGE runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917807#M1691172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program will read a text file that may contains characters such as "é".&lt;/P&gt;&lt;P&gt;May i know is this a non-UTF8 character?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using this statement to read the text file :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;OPEN &lt;SPAN class="L0S52"&gt;DATASET &lt;/SPAN&gt;dsn &lt;SPAN class="L0S52"&gt;FOR &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INPUT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TEXT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MODE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ENCODING &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;DEFAULT&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;However, it failed with this runtime error :-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Runtime Errors&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;CONVT_CODEPAGE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Exception&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;CX_SY_CONVERSION_CODEPAGE&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;EM&gt;At the conversion of a text from codepage '4110' to codepage '4102':&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the web for solution. &lt;/P&gt;&lt;P&gt;Some forum posts recommend to use this statement instead :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;OPEN &lt;SPAN class="L0S52"&gt;DATASET &lt;/SPAN&gt;dsn &lt;SPAN class="L0S52"&gt;FOR &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INPUT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TEXT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MODE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ENCODING &lt;/SPAN&gt;NON&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;UNICODE&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;If I change to use this statement, may i know will it work well when reading a UTF-8 text file (or normal text file without those special characters such as &lt;/SPAN&gt;&lt;/SPAN&gt;"é"&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;)?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Thanks, gk&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 07:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917807#M1691172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-11T07:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: CONVT_CODEPAGE runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917808#M1691173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi GK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;OPEN &lt;SPAN class="L0S52"&gt;DATASET &lt;/SPAN&gt;dsn &lt;SPAN class="L0S52"&gt;FOR &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INPUT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TEXT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MODE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ENCODING &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;DEFAULT IGNORING CONVERSION ERRORS.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;Prashant&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 08:02:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917808#M1691173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-11T08:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: CONVT_CODEPAGE runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917809#M1691174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Prashant. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this method already. Although the program did not give the error dump, but when i checked the downloaded text file, the special character "é" was not downloaded correctly. It appears as "#" instead of "é". Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 08:09:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917809#M1691174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-11T08:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: CONVT_CODEPAGE runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917810#M1691175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi GK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well in that case, download the file on presentation server. Then open it in notepad &amp;amp; save it with ENCONDING as UNICODE. Check whether the special character is retained. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then upload this file to application server &amp;amp; run the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 08:13:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917810#M1691175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-11T08:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: CONVT_CODEPAGE runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917811#M1691176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant, sorry as i am not clear enough in describing my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program is used to read a UNIX text file and then download it to the local PC.&lt;/P&gt;&lt;P&gt;The UNIX text file may contains special character such as "é". If i used this statement (&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;OPEN &lt;SPAN class="L0S52"&gt;DATASET &lt;/SPAN&gt;dsn &lt;SPAN class="L0S52"&gt;FOR &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INPUT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TEXT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MODE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ENCODING &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;DEFAULT&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;), it will hit CONVT_CODEPAGE runtime error. If i used this statement (&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;OPEN &lt;SPAN class="L0S52"&gt;DATASET &lt;/SPAN&gt;dsn &lt;SPAN class="L0S52"&gt;FOR &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INPUT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TEXT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MODE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ENCODING &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;DEFAULT IGNORING CONVERSION ERRORS.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;), although it did not hit CONVT_CODEPAGE runtime error, but when i checked the downloaded text file, i found that the special character "é" appears as "#".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed your instruction to save the downloaded text file in UNICODE but the special character "é" still appears as "#".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 08:26:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917811#M1691176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-11T08:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: CONVT_CODEPAGE runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917812#M1691177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please check in &lt;EM&gt;SCP&lt;/EM&gt;(T-Code) which Code Pages(CP) contain the character - &lt;EM&gt;é&lt;/EM&gt; (&lt;EM&gt;U+00E9&lt;/EM&gt;)? If it's possible provide a screenshot as well &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/825/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just checked in my system &amp;amp; the character is available in CPs - &lt;EM&gt;4110&lt;/EM&gt; &amp;amp; &lt;EM&gt;4102&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"My program is used to read a UNIX text file and then download it to the local PC." - &lt;/EM&gt;If this is the case you can open the file in BINARY MODE &amp;amp; download it to the local PC as a 'BIN'(ary) file as well. The rationale behind doing this is when a file is read in binary mode, the contents are transferred w/o any conversion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 09:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917812#M1691177</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2012-07-11T09:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: CONVT_CODEPAGE runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917813#M1691178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly refer to the attached file :-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 09:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917813#M1691178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-11T09:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: CONVT_CODEPAGE runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917814#M1691179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas, thanks for your suggestion. I tried BINARY mode but it did not work out correctly. The file appears like below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;###†###################†††††††††††††††††††††††††####†††††††††††††††††††††###††#†#####†††††††††††††††††††††††††††††††††††††††††††††######†###††††††††††††††††††††††††††††††††††††††††††††††††#######††††††††††††††††††††††††††††††††††††††††††††††††††††††††#######†††###&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 09:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917814#M1691179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-11T09:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: CONVT_CODEPAGE runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917815#M1691180</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;Where did you view this file? Did you download it to the local PC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 11:02:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917815#M1691180</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2012-07-11T11:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: CONVT_CODEPAGE runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917816#M1691181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Suhas, it is a unix file and my program is used to download it to local PC. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 01:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convt-codepage-runtime-error/m-p/8917816#M1691181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-12T01:08:36Z</dc:date>
    </item>
  </channel>
</rss>

