<?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: codepages, the saga begins in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812892#M84779</link>
    <description>you are correct benoit, it is a solution (one we used in the past).  Problem is that you create a historical *pile.&lt;BR /&gt;&lt;BR /&gt;i'm keeping it as a last aid.&lt;BR /&gt;&lt;BR /&gt;thx</description>
    <pubDate>Wed, 25 Sep 2002 07:48:43 GMT</pubDate>
    <dc:creator>Systeemingenieurs Infoc</dc:creator>
    <dc:date>2002-09-25T07:48:43Z</dc:date>
    <item>
      <title>codepages, the saga begins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812887#M84774</link>
      <description>The facts :&lt;BR /&gt;---------&lt;BR /&gt;&lt;BR /&gt;- hpux 11.0&lt;BR /&gt;- codepage on unix : hp-roman8&lt;BR /&gt;- codepage on winNt : cp1252 (iso 8859-1 is +/- the same)&lt;BR /&gt;- eurosign-position in roman8 : 0xa4&lt;BR /&gt;- eurosign-position in cp1252 : 0x80&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the question :&lt;BR /&gt;------------&lt;BR /&gt;&lt;BR /&gt;how the hell can i convert the eurosign from hp-roman8 to cp1252 ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the futile tries :&lt;BR /&gt;----------------&lt;BR /&gt;&lt;BR /&gt;# first thought&lt;BR /&gt;echo "\0244"|iconv -f roma8 -t iso81|xd -N 1   &lt;BR /&gt;  -&amp;gt; returns 0xca, not 0xa4&lt;BR /&gt;  &lt;BR /&gt;# aha, iso81 has an euro-successor : iso815&lt;BR /&gt;echo "\0244"|iconv -f roma8 -t iso815|xd -N 1&lt;BR /&gt; -&amp;gt; iconv: can not initialize the conversion&lt;BR /&gt; -&amp;gt; no direct conversion possible&lt;BR /&gt; &lt;BR /&gt;# the workaround :&lt;BR /&gt;echo "\0244"|iconv -f roma8 -t ucs2|iconv -f ucs2 -t iso815|xd -N 1&lt;BR /&gt;  -&amp;gt; returns 0xca, not 0xa4&lt;BR /&gt;&lt;BR /&gt;# maybe iso81 is not the same as cp1252&lt;BR /&gt;# good thing : mq-series installs a cp1252 on the system !&lt;BR /&gt;echo "\0244"|iconv -f roma8 -t cp1252|xd -N 1   &lt;BR /&gt;  -&amp;gt; returns 0xca, not 0xa4&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;conclusion :&lt;BR /&gt;----------&lt;BR /&gt;&lt;BR /&gt;the force is not with me</description>
      <pubDate>Wed, 25 Sep 2002 06:48:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812887#M84774</guid>
      <dc:creator>Systeemingenieurs Infoc</dc:creator>
      <dc:date>2002-09-25T06:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: codepages, the saga begins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812888#M84775</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I may be on the wrong track but:-  ux2dos ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Wed, 25 Sep 2002 06:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812888#M84775</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-09-25T06:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: codepages, the saga begins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812889#M84776</link>
      <description>the dos codepage is cp850 ; so i assume that the conversion will be wrong.  I'll check it out, though.</description>
      <pubDate>Wed, 25 Sep 2002 07:09:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812889#M84776</guid>
      <dc:creator>Systeemingenieurs Infoc</dc:creator>
      <dc:date>2002-09-25T07:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: codepages, the saga begins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812890#M84777</link>
      <description>echo "\0244"|ux2dos|xd -N 1&lt;BR /&gt;-&amp;gt; returns 0xa4&lt;BR /&gt;&lt;BR /&gt;BUT, i made a mistake, all the commands should return 0x80 (the input is 0xa4).  My mistake.</description>
      <pubDate>Wed, 25 Sep 2002 07:14:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812890#M84777</guid>
      <dc:creator>Systeemingenieurs Infoc</dc:creator>
      <dc:date>2002-09-25T07:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: codepages, the saga begins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812891#M84778</link>
      <description>My be the tr command (tr '\octal' '\octal' ) just for the euro sign ?&lt;BR /&gt;hth&lt;BR /&gt;Benoit</description>
      <pubDate>Wed, 25 Sep 2002 07:28:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812891#M84778</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2002-09-25T07:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: codepages, the saga begins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812892#M84779</link>
      <description>you are correct benoit, it is a solution (one we used in the past).  Problem is that you create a historical *pile.&lt;BR /&gt;&lt;BR /&gt;i'm keeping it as a last aid.&lt;BR /&gt;&lt;BR /&gt;thx</description>
      <pubDate>Wed, 25 Sep 2002 07:48:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/codepages-the-saga-begins/m-p/2812892#M84779</guid>
      <dc:creator>Systeemingenieurs Infoc</dc:creator>
      <dc:date>2002-09-25T07:48:43Z</dc:date>
    </item>
  </channel>
</rss>

