<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-freetext" href="http://fox-toolkit.org/">http://fox-toolkit.org/</a><br>
<br>
-------- Original Message --------
<table border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <th align="right" nowrap="nowrap" valign="baseline">Subject: </th>
      <td>Re: [Foxgui-users]Anybody using the Unicode already ?</td>
    </tr>
    <tr>
      <th align="right" nowrap="nowrap" valign="baseline">Date: </th>
      <td>Thu, 24 Nov 2005 21:27:15 -0800</td>
    </tr>
    <tr>
      <th align="right" nowrap="nowrap" valign="baseline">From: </th>
      <td>J.A.H. <a class="moz-txt-link-rfc2396E" href="mailto:heblack@ispmonsters.com">&lt;heblack@ispmonsters.com&gt;</a></td>
    </tr>
    <tr>
      <th align="right" nowrap="nowrap" valign="baseline">To: </th>
      <td>Lothar Scholz <a class="moz-txt-link-rfc2396E" href="mailto:llothar@web.de">&lt;llothar@web.de&gt;</a></td>
    </tr>
    <tr>
      <th align="right" nowrap="nowrap" valign="baseline">References: </th>
      <td><a class="moz-txt-link-rfc2396E" href="mailto:524905130.20051024180107@web.de">&lt;524905130.20051024180107@web.de&gt;</a></td>
    </tr>
  </tbody>
</table>
<br>
<br>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Lothar Scholz wrote:
<blockquote cite="mid524905130.20051024180107@web.de" type="cite">
  <pre wrap="">Hello FOX Users,

Is anybody using it in a text intensive applications ?
How does it work ?

&gt;From the postings it looks that almost everybody is still on the 1.4.X
line.
  

  </pre>
</blockquote>
<pre></pre>
<pre wrap="">This little C program works as expected:

    #include &lt;locale.h&gt;
    #include &lt;stdio.h&gt;

    int main(int argc, char *argv[])
    {
      (void)argc;
      (void)argv;

      if (!setlocale(LC_CTYPE, ""))
      {
        fprintf(stderr, "Can't set the specified locale! "
                "Check LANG, LC_CTYPE, LC_ALL.\n");
        return 1;
      }
      printf("%ls\n", L"Sch&ouml;ne Gr&uuml;&szlig;e");
      return 0;
    }</pre>
<pre>Actually, on further thought it works, because the compiler was using </pre>
<pre wrap=""><pre>the C library it knew about and both would have agreed on the wide character </pre><pre>codeset used - the wide character codeset would be implementation defined, </pre><pre>but correct.</pre>
</pre>
<br>
</body>
</html>