MOO-cows Mailing List Archive
[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Server limitations on network I/O
>>>>> "Michael" == Michael Brundage <firstname.lastname@example.org> writes:
Michael> Couple o' questions: (1) What is the range of ASCII
Michael> values which the server will accept (or output) through
Michael> non-binary I/O?
Jason, this applies to your problem too. The server uses the isgraph
macro to test wether the current character is printable. It
additionally checks for whitespace. The meaning of isgraph depends on
the locale on some systems. Usually, isgraph is true if it's argument
is above 32 and less than or equal to 127.
The best approach for internationalization is to replace this function
with a hand-rolled.
Never underestimate the value of fprintf() for debugging purposes.
Subject Index |