Re: How do online html docs in GTK+? in /portable/ way possible too?



On Tue, 25 Jun 2002 15:11:32 BST, Chris Wareham said:

> Ahem, this is *old* code (in fact it started life in someone
> elses Slashdot headline ticker program). Hence the syntactically
> correct (but superfluous) 'sizeof(char)'. Are there any machines
> out there with a char that isn't one byte? The PDP-10 perhaps?

Asiatic languages.  16 and 32-bit encodings of Unicode.

Or more correctly, 'char' is a one-byte, but this code is buggy because
it assumes that all representable glyphs are one byte wide.

-- 
				Valdis Kletnieks
				Computer Systems Senior Engineer
				Virginia Tech

Attachment: pgptsalkf4c3L.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]