"Dennis L. Goyette Sr." wrote on 2001-04-05 16:55 UTC:
> I was able to get full-bmp.txt by using your httpget program and
> redirecting the output from the program.... I then did a cat on this 
> file from the xterm window started like you said in an earlier email.... 
> everyhting seemed to print out correctly.... now, just getting the 
> logistics of char, wchar_t and displaying to work........ I used up2date 
> to get glibc-2.2 RPM from Redhat.... suppsoedly downlaoded the RPM 
> package and it was installed... do I need to explictly use any 
> directives with gcc or will gcc automatically use the correct 
> libraries???  How do I verify that glibc-2.2 was installed properly...

If the following works properly, you have a C environment with
UTF-8 locale support:

#include <stdio.h>
#include <locale.h>

int main (void)
{
  setlocale(LC_ALL, "");

  printf("The euro symbol: '%lc'\n", 0x20ac);

  return 0;
}

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>

-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/

Reply via email to