Mail from ILUG-BOM list (Non-Digest Mode)
----- Original Message -----
From: nikhil kikkeri <[EMAIL PROTECTED]>
Sent: Sunday, July 02, 2000 10:42 AM
Subject: Re: [ILUG-BOM] fgetc() with UNICODE???
> and maybe that the JVM then interacts with the OS in some way
because Jvm
> works on top of an OS.
I think JVM is UNICODE-enabled, while the real support only
comes when the underlying OS provies it. Now I think NT does. So
should Linux. But how does the transition from ASCII to UNICODE
happen? How would I know if a file is ASCII or UNICODE? If I
don't know that much, I (my program) might misinterpret data
read from files.
> i think that fgetc() with unicode will consume 2 bytes.Unicode
is 65536
> characters while ascii is only 256.so the alignment has to be
word wide.
Yeah I hope, so it should be abstracted away. Whether UNICODE or
ASCII, fgetc() should read one character (as defined by the OS).
--
Manish Jethani
_______________________________________________
Linuxers mailing list
[EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers