Mail from ILUG-BOM list (Non-Digest Mode)
In C,
fgetc reads a char from the file. Now /char/ is a byte, right?
So I could be reading a binary file w/o losing any data, right?
What about UNICODE? If UNICODE has characters as 2 bytes, would
fgetc() be able to read chars as 2 bytes or 1 byte?
If 1 byte, then I might have to combine 2 read bytes to get the
correct char?
Is UNICODE supported on current platforms (Windows, Linux,
Solaris)? Do we have UNICODE files on our PCs. How would I know
if a file is UNICODE or ASCII (while reading it with fgetc())?
Thanks.
--
Manish Jethani
_______________________________________________
Linuxers mailing list
[EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers