<?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: iconv command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/iconv-command/m-p/4081300#M729995</link>
    <description>Check for any special symbols in input file.&lt;BR /&gt;&lt;BR /&gt;From iconv man - &lt;A href="http://www.docs.hp.com/en/B9106-90007/iconv.1.html" target="_blank"&gt;http://www.docs.hp.com/en/B9106-90007/iconv.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If an input character does not belong to the code set selected by the -f option (the "from" code set), the command terminates.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
    <pubDate>Thu, 04 Oct 2007 11:18:39 GMT</pubDate>
    <dc:creator>Ivan Krastev</dc:creator>
    <dc:date>2007-10-04T11:18:39Z</dc:date>
    <item>
      <title>iconv command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iconv-command/m-p/4081299#M729994</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;I'm tryng to run the commad below, but the system is given me an error:&lt;BR /&gt;&lt;BR /&gt;#iconv -f cp1252 -t iso81 arq.txt &amp;gt; new-arq.txt&lt;BR /&gt;iconv: can not initialize the conversion&lt;BR /&gt;&lt;BR /&gt;Any idea?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Oct 2007 11:13:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iconv-command/m-p/4081299#M729994</guid>
      <dc:creator>LucianoCarvalho</dc:creator>
      <dc:date>2007-10-04T11:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: iconv command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iconv-command/m-p/4081300#M729995</link>
      <description>Check for any special symbols in input file.&lt;BR /&gt;&lt;BR /&gt;From iconv man - &lt;A href="http://www.docs.hp.com/en/B9106-90007/iconv.1.html" target="_blank"&gt;http://www.docs.hp.com/en/B9106-90007/iconv.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If an input character does not belong to the code set selected by the -f option (the "from" code set), the command terminates.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 04 Oct 2007 11:18:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iconv-command/m-p/4081300#M729995</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2007-10-04T11:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: iconv command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iconv-command/m-p/4081301#M729996</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The codes cp1252 and iso81 are configured in file /usr/lib/nls/iconv/config.iconv.&lt;BR /&gt;Do I have to do anything else to get this conversion working?&lt;BR /&gt;&lt;BR /&gt;thanks.</description>
      <pubDate>Thu, 04 Oct 2007 12:40:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iconv-command/m-p/4081301#M729996</guid>
      <dc:creator>LucianoCarvalho</dc:creator>
      <dc:date>2007-10-04T12:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: iconv command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iconv-command/m-p/4081302#M729997</link>
      <description>&amp;gt;The codes cp1252 and iso81 are configured in file /usr/lib/nls/iconv/config.iconv.&lt;BR /&gt;&amp;gt;Do I have to do anything else to get this conversion working?&lt;BR /&gt;&lt;BR /&gt;I believe you can only convert from A to B if both of those are on the same line.  For your two:&lt;BR /&gt;$ grep ^cp1252 /usr/lib/nls/iconv/config.iconv&lt;BR /&gt;cp1252  ucs2    cp1252=ucs2     lsbucs2.sl      &lt;BR /&gt;cp1252  utf8    cp1252=ucs2     lsbutf8.sl      &lt;BR /&gt;$ grep  "       iso81   " /usr/lib/nls/iconv/config.iconv&lt;BR /&gt;(The above has tabs before and after.)&lt;BR /&gt;...&lt;BR /&gt;ucs2    iso81   ucs2=iso81      lucs2hp.sl      &lt;BR /&gt;utf8    iso81   ucs2=iso81      lutf8hp.sl &lt;BR /&gt;&lt;BR /&gt;So you would need:&lt;BR /&gt;$ iconv -f cp1252 -t ucs2 arq.txt |&lt;BR /&gt;  iconv -t iso81 -f ucs2 &amp;gt; new-arq.txt</description>
      <pubDate>Tue, 23 Oct 2007 04:00:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iconv-command/m-p/4081302#M729997</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-23T04:00:59Z</dc:date>
    </item>
  </channel>
</rss>

