<?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: CRTL bug?: iconv_open doesn't do ASCII in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/crtl-bug-iconv-open-doesn-t-do-ascii/m-p/2966987#M30916</link>
    <description>&lt;BR /&gt;Seems like a bug to me. I bet that the character set is really 8859-1 or maybe DECstd 169 even if it's reported as ASCII by nl_langinfo... &lt;BR /&gt;&lt;BR /&gt;So you can probably see what is reported ASCII on VMS as 8859-1 or DECstd 169. But you should however make sure to log this as a problem with HP so that they get the chance to do something about this, because it really seems to be a bug.&lt;BR /&gt;&lt;BR /&gt;/ShyGuy</description>
    <pubDate>Sat, 17 May 2003 13:27:22 GMT</pubDate>
    <dc:creator>ShyGuy</dc:creator>
    <dc:date>2003-05-17T13:27:22Z</dc:date>
    <item>
      <title>CRTL bug?: iconv_open doesn't do ASCII</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/crtl-bug-iconv-open-doesn-t-do-ascii/m-p/2966984#M30913</link>
      <description>On an OpenVMS Alpha 7.3-1 system with no special language kits installed, it appears (based on the stock files supplied at the location pointed to by SYS$I18N_ICONV) that the following character set names are supported for translation by iconv_open:&lt;BR /&gt;&lt;BR /&gt;ISO8859-1&lt;BR /&gt;UCS-2&lt;BR /&gt;UCS-4&lt;BR /&gt;VTF-7&lt;BR /&gt;&lt;BR /&gt;A bit of experimentation shows that other character set names are considered invalid by iconv_open.  So far so good -- that's what I would expect. However, translating character sets is not something done in the abstract; what I really want is to translate between my local character set and some other one.&lt;BR /&gt;&lt;BR /&gt;The standard supported method for obtaining the canonical name of my local character set is to call "nl_langinfo(CODESET);", which returns "ASCII" on my system.  But "ASCII" is not in the list of character sets supported for translation by iconv_open, and indeed iconv_open considers it invalid.&lt;BR /&gt;&lt;BR /&gt;I am aware of the documentation for creating additional character set translations using the iconv utility.  It seems to me, though, that internal consistency between what nl_langinfo returns and what iconv_open can use should be available out of the box.  The lack of it will break a lot of open source software and is already necessitating some VMS-specific hacks in a project I'm involved with.  It also seems that fixing this would probably just be a data change and not require touching the CRTL code.</description>
      <pubDate>Tue, 06 May 2003 22:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/crtl-bug-iconv-open-doesn-t-do-ascii/m-p/2966984#M30913</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2003-05-06T22:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: CRTL bug?: iconv_open doesn't do ASCII</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/crtl-bug-iconv-open-doesn-t-do-ascii/m-p/2966985#M30914</link>
      <description>Hi Craig,&lt;BR /&gt;&lt;BR /&gt;not sure it helps, but there is an CRTL ECO 1 available for 7.3-1. This did touch iconv. While it does not explicitly mention your problem you never now what engineering did under the covers ;-)&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
      <pubDate>Wed, 07 May 2003 16:45:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/crtl-bug-iconv-open-doesn-t-do-ascii/m-p/2966985#M30914</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2003-05-07T16:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: CRTL bug?: iconv_open doesn't do ASCII</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/crtl-bug-iconv-open-doesn-t-do-ascii/m-p/2966986#M30915</link>
      <description>Thanks, Martin. I'll double check but I think I already have that ECO installed.</description>
      <pubDate>Tue, 13 May 2003 17:26:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/crtl-bug-iconv-open-doesn-t-do-ascii/m-p/2966986#M30915</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2003-05-13T17:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: CRTL bug?: iconv_open doesn't do ASCII</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/crtl-bug-iconv-open-doesn-t-do-ascii/m-p/2966987#M30916</link>
      <description>&lt;BR /&gt;Seems like a bug to me. I bet that the character set is really 8859-1 or maybe DECstd 169 even if it's reported as ASCII by nl_langinfo... &lt;BR /&gt;&lt;BR /&gt;So you can probably see what is reported ASCII on VMS as 8859-1 or DECstd 169. But you should however make sure to log this as a problem with HP so that they get the chance to do something about this, because it really seems to be a bug.&lt;BR /&gt;&lt;BR /&gt;/ShyGuy</description>
      <pubDate>Sat, 17 May 2003 13:27:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/crtl-bug-iconv-open-doesn-t-do-ascii/m-p/2966987#M30916</guid>
      <dc:creator>ShyGuy</dc:creator>
      <dc:date>2003-05-17T13:27:22Z</dc:date>
    </item>
  </channel>
</rss>

