HylaFAX The world's most advanced open source fax server

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

Re: sendfax works - faxmail and other frontends don't !!!



> fxStr   sender("Kestas \128\129\130\131\132\133\134\135");
                         !!!!!!!!   These are not valid octal numbers
                         ################################

Treated as (broken) octal, these are ASCII X, Y, X, Y, Z, [, \, ],
and should print.  However, I would expect the 8 to terminate the \128,
resulting in a line feed (newline) which might well terminate the string.
Treated as decimal they are invalid in ISO 8859/* and Unicode, and fall
into the C2 control set on most terminals.  Valid ISO 8859/1 characters
start at 160 decimal (\240), with non breaking space, which produces no
graphic; the first printing high bit character is \241.

For clarification, I believe your C++ is equivalent to:

fxStr   sender("Kestas \n8\n9XYZ[\\]");


It is *not* usual to have Unix systems with locale's corresponding to IBM
Code Page 437 or 85* and the default code for Linux is ASCII/ ISO 8859/1.

Slackware linux has a man page for ISO 8859/1.

>                 ^^^^^^ All these looks OK
>                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^All these are
> skipped.




Project hosted by iFAX Solutions