<?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: Dynamically loaded locales in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-loaded-locales/m-p/2587407#M856903</link>
    <description>I think problem occurs when I give to isspace function a char value greater than 127. &lt;BR /&gt;&lt;BR /&gt;Here is my test program.&lt;BR /&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;STDLIB.H&gt;&lt;BR /&gt;#include &lt;STRING.H&gt;&lt;BR /&gt;&lt;BR /&gt;main(int argc, char *argv[])&lt;BR /&gt;{&lt;BR /&gt;char mm = '?';&lt;BR /&gt;&lt;BR /&gt;if (isspace(mm))&lt;BR /&gt; printf("'%c' (&amp;lt;%02X&amp;gt;) '%d' = true\n", mm, mm, mm);&lt;BR /&gt;else&lt;BR /&gt; printf("'%c' (&amp;lt;%02X&amp;gt;) '%d' = false\n", mm, mm, mm);&lt;BR /&gt;return 0;&lt;BR /&gt;}&lt;BR /&gt;when I execute this result is:&lt;BR /&gt;'?' (&lt;FFFFFFE4&gt;) '-28' = true&lt;BR /&gt;&lt;BR /&gt;if variable mm is unsigned char result is:&lt;BR /&gt;'?' (&lt;E4&gt;) '228' = false&lt;BR /&gt;&lt;BR /&gt;Would PHCO_19090 fix this problem?&lt;/E4&gt;&lt;/FFFFFFE4&gt;&lt;/STRING.H&gt;&lt;/STDLIB.H&gt;&lt;/STDIO.H&gt;</description>
    <pubDate>Tue, 02 Oct 2001 09:07:47 GMT</pubDate>
    <dc:creator>Mika Koljonen</dc:creator>
    <dc:date>2001-10-02T09:07:47Z</dc:date>
    <item>
      <title>Dynamically loaded locales</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-loaded-locales/m-p/2587404#M856900</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How do I find out which shared objects (loacles) are loaded/used when I call e.g. isspace function in C my program. &lt;BR /&gt;I have a problem with scandinavian characters and isspace function.&lt;BR /&gt;I have two servers HP-UX ux04 B.10.20 A 9000/800 and HP-UX ux05 B.11.00 A 9000/800.&lt;BR /&gt;In ux04 isspace works fine but ux05 doesn't seem to undestand scandinavian characters. locale command in both servers give a same result.&lt;BR /&gt;$ locale&lt;BR /&gt;LANG=&lt;BR /&gt;LC_CTYPE="C"&lt;BR /&gt;LC_COLLATE="C"&lt;BR /&gt;LC_MONETARY="C"&lt;BR /&gt;LC_NUMERIC="C"&lt;BR /&gt;LC_TIME="C"&lt;BR /&gt;LC_MESSAGES="C"&lt;BR /&gt;LC_ALL=&lt;BR /&gt;$    &lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Oct 2001 08:59:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-loaded-locales/m-p/2587404#M856900</guid>
      <dc:creator>Mika Koljonen</dc:creator>
      <dc:date>2001-10-01T08:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically loaded locales</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-loaded-locales/m-p/2587405#M856901</link>
      <description>fyi : &lt;BR /&gt;&lt;BR /&gt;isspace is only supported for single-byte character code sets ...would Scandinavian locales/ langs fall outside of this ?&lt;BR /&gt;&lt;BR /&gt;The implementation for the of range values&lt;BR /&gt;passed to isspace et al changed between 10.x and 11.0. As of 11.0 if values are out of range the return value may not be consistent.&lt;BR /&gt;&lt;BR /&gt;Also note from the man page  that only the integers -1 though 255 are supported by isspace&lt;BR /&gt;(except isascii the other functions mentioned on the same man page have the same&lt;BR /&gt;constraints). If you passes a number less than -1 or greater than 255 the results are undefined.... could this be relevant ?&lt;BR /&gt;&lt;BR /&gt;You referred to problems/differences  between 10.20 &amp;amp; 11.00 .... could you elaborate if the above does not help ?&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Oct 2001 09:15:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-loaded-locales/m-p/2587405#M856901</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-10-01T09:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically loaded locales</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-loaded-locales/m-p/2587406#M856902</link>
      <description>In 11.00 isspace function works fine if I first call setlocale(with LC_CTYPE and fi_FI.iso885915@euro)??? In 10.20 doesn't need to do that. I tested this behaviour in several servers.&lt;BR /&gt;&lt;BR /&gt;Yes my characters (e.q. '?') are out of range. &lt;BR /&gt;If I change locales should isspace function works fine with e.q. '?'?    &lt;BR /&gt;&lt;BR /&gt;&lt;THE implementation="" for="" the="" of="" range="" values=""&gt;&lt;/THE&gt;&lt;PASSED to="" isspace="" et="" al="" changed="" between="" 10.x=""&gt;&lt;/PASSED&gt;How it work in 10.20?&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Oct 2001 13:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-loaded-locales/m-p/2587406#M856902</guid>
      <dc:creator>Mika Koljonen</dc:creator>
      <dc:date>2001-10-01T13:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically loaded locales</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-loaded-locales/m-p/2587407#M856903</link>
      <description>I think problem occurs when I give to isspace function a char value greater than 127. &lt;BR /&gt;&lt;BR /&gt;Here is my test program.&lt;BR /&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;STDLIB.H&gt;&lt;BR /&gt;#include &lt;STRING.H&gt;&lt;BR /&gt;&lt;BR /&gt;main(int argc, char *argv[])&lt;BR /&gt;{&lt;BR /&gt;char mm = '?';&lt;BR /&gt;&lt;BR /&gt;if (isspace(mm))&lt;BR /&gt; printf("'%c' (&amp;lt;%02X&amp;gt;) '%d' = true\n", mm, mm, mm);&lt;BR /&gt;else&lt;BR /&gt; printf("'%c' (&amp;lt;%02X&amp;gt;) '%d' = false\n", mm, mm, mm);&lt;BR /&gt;return 0;&lt;BR /&gt;}&lt;BR /&gt;when I execute this result is:&lt;BR /&gt;'?' (&lt;FFFFFFE4&gt;) '-28' = true&lt;BR /&gt;&lt;BR /&gt;if variable mm is unsigned char result is:&lt;BR /&gt;'?' (&lt;E4&gt;) '228' = false&lt;BR /&gt;&lt;BR /&gt;Would PHCO_19090 fix this problem?&lt;/E4&gt;&lt;/FFFFFFE4&gt;&lt;/STRING.H&gt;&lt;/STDLIB.H&gt;&lt;/STDIO.H&gt;</description>
      <pubDate>Tue, 02 Oct 2001 09:07:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-loaded-locales/m-p/2587407#M856903</guid>
      <dc:creator>Mika Koljonen</dc:creator>
      <dc:date>2001-10-02T09:07:47Z</dc:date>
    </item>
  </channel>
</rss>

