handling special characters in AIX with C



Hi,

I have this host which sends a text file in UTF-8 via ftp. But when my
program reads the file in AIX, it is not able to handle the German
umlaut character Ä which is in the file.
My program is in C. I am using AIX 4. The program opens the text file
and reads each character using fscanf(fp,"%c",&inChar) where fp is the
file pointer and inChar is the variable into which each character is
stored.

Any Idea how I can rectify this?
.



Relevant Pages

  • Re: Weird Charcters in an ftpd file
    ... To get rid of the ^M character in the existing files if you don't want ... >> I have several aix files that I ftp down to my pc hard drive. ... >> another aix system but when I vi these files they all have ^M at the ...
    (comp.unix.aix)
  • Re: handling special characters in AIX with C
    ... I have this host which sends a text file in UTF-8 via ftp. ... I am using AIX 4. ... and reads each character using fscanfwhere fp is the ...
    (comp.unix.aix)
  • Re: handling special characters in AIX with C
    ... I have this host which sends a text file in UTF-8 via ftp. ... I am using AIX 4. ... and reads each character using fscanfwhere fp is the ... get gnu recode and convert the data file before running your program ...
    (comp.unix.aix)
  • Re: Aix vs Linux file transfers to windows
    ... Using ftp a basic text file created with VI on Aix looks fine on my windows pc. ... So I'm trying to understand why the Aix server works and the Linux server does not and if there is some configuration setting I need to change. ...
    (AIX-L)
  • Re: File Transfer Performance in High Bandwidth and High Latency WAN.
    ... > via MPLS(Multi-Protocol Label Switching) WAN connection. ... > FTP transfers. ... How pmtu discover works seems to change with every release of AIX. ...
    (comp.unix.aix)