SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from RedHat Other boss-960104-1.i386.rpm

BossEncodeStr

Section: C Library Functions (3)
Updated: 4 January 1996
Index 

NAME

BossEncodeStr - Convert ASCII string to B.O.S.S. character set 

SYNOPSIS

#include <boss.h>unsigned char *BossEncodeStr(str)char *str;
 

DESCRIPTION

This function is part of the Casio Boss communications library(libboss.a). This function does the opposite of BossDecodeStr(3).A copy of str is returned except that any escape sequences found instr will be replaced with the B.O.S.S. binary equivalent. (eg. "\AE"will be replaced with 0222 or 0x92)

The purpose of this function is so that strings from other data sourcescan be filtered through this function before being sent to the B.O.S.S.In this way, other programs may make use of the same escape sequencesdefined by Boss parser. 

ESCAPE SEQUENCES

This table shows the special characters that cannot be represented inASCII. The columns OCTAL/HEX show the actual binary value for a B.O.S.S. character.The column ESCAPE show what the ASCII escape seqence would be. The last columnis a common descriptiono of what the character looks like.
        OCTAL   HEX     ESCAPE  CHARACTER DESCRIPTION        -----   ---     ------  ------------------------------------------        0025    16      \S      Two superimposed S's (section number sign)        0074    3c      \<      less than symbol.        0134    5c      \\      Backslash        0200    80      \C,     The letter C with a comma like tail        0201    81      \u:     Umlaut accents        0202    82      \e'     Acute accents.        0203    83      \a^     Circumflex accents        0204    84      \a:     Umlaut accents        0205    85      \a`     Grave accents        0206    86      \a.     The letter 'a' with a small circle on top.        0207    87      \c,     The letter 'c' with a commal like tail out of bottom.        0210    88      \e^     Circumflex accents        0211    89      \e:     Umlaut accents        0212    8a      \e`     Grave accents        0213    8b      \i:     Umlaut accents        0214    8c      \i^     Circumflex accents        0215    8d      \i`     Grave accents        0216    8e      \A:     Umlaut accents        0217    8f      \A.     Angstrom symbol (Letter 'A' with small circle atop)        0220    90      \E'     Acute accents.        0221    91      \ae     Two letters 'a' and 'e' next to each other.        0222    92      \AE     Two letters 'A' and 'E' next to each other        0223    93      \o^     Circumflex accents        0224    94      \o:     Umlaut accents        0225    95      \o`     Grave accents        0226    96      \u^     Circumflex accents        0227    97      \u`     Grave accents        0228    98      UN-ASSIGNED        0231    99      \O:     Umlaut accents        0232    9a      \U:     Umlaut accents        0233    9b      \c|     Cents symbol. ('c' with line through it)        0234    9c      \l      A decorative 'l'-looking character.        0235    9d      \Y      A Y shaped character with two horizontal bars (upsilon?)        0237    9f      \f      italics f looking symbol (integration?)        0240    a0      \a'     Acute accents.        0241    a1      \i'     Acute accents.        0242    a2      \o'     Acute accents.        0243    a3      \u'     Acute accents.        0244    a4      \N~     Tilde accents        0245    a5      \n~     Tilde accents        0246    a6      \a_     small 'a' with an underscore under it.        0247    a7      \o_     small 'o' with an underscore under it.        0250    a8      \?      upside down question mark. (open question)        0251    a9      UN-ASSIGNED        0252    aa      UN-ASSIGNED        0253    ab      \12     1/2 symbol        0254    ac      \14     1/4 symbol        0255    ad      \!      upside down exclamation mark '!'. (open exclamation)        0256    ae      \{-     A left pointing arrow symbol.        0257    af      \-}     A right pointing arrow symbol.        0260    b0      UN-ASSIGNED        0261    b1      UN-ASSIGNED        0262    b2      UN-ASSIGNED        0263    b3      \|      Large vertical bar.        0264    b4      UN-ASSIGNED        0265    b5      \A'     Acute accents.        0266    b6      \I'     Acute accents.        0267    b7      \O'     Acute accents.        0270    b8      \U'     Acute accents.        0271    b9      \A`     Grave accents        0272    ba      \E`     Grave accents        0273    bb      \I`     Grave accents        0274    bc      \O`     Grave accents        0275    bd      \U`     Grave accents        0276    be      \P      Backward P with two vertical bars. (paragraph sign)        0277    bf      UN-ASSIGNED        0300    c0      UN-ASSIGNED        0301    c1      UN-ASSIGNED        0302    c2      UN-ASSIGNED        0303    c3      UN-ASSIGNED        0304    c4      UN-ASSIGNED        0305    c5      UN-ASSIGNED        0306    c6      \A^     Circumflex accents        0307    c7      \E^     Circumflex accents        0310    c8      \I^     Circumflex accents        0311    c9      \O^     Circumflex accents        0312    ca      \U^     Circumflex accents        0313    cb      \E:     Umlaut accents        0314    cc      \I:     Umlaut accents        0315    cd      \A~     Tilde accents        0316    ce      \a~     Tilde accents        0317    cf      \O~     Tilde accents        0320    d0      \o~     Tilde accents        0321    d1      \IJ     Two letters 'I' and 'J' next to each other        0322    d2      \ij     The two letters 'i' and 'j' next to each other.        0323    d3      \^3     Power of 3 symbol        0324    d4      \34     3/4 symbol        0325    d5      UN-ASSIGNED        0326    d6      UN-ASSIGNED        0327    d7      UN-ASSIGNED        0330    d8      \Fr     The 'F' letter followed by an 'r'.        0331    d9      UN-ASSIGNED        0332    da      UN-ASSIGNED        0333    db      UN-ASSIGNED        0334    dc      UN-ASSIGNED        0335    dd      UN-ASSIGNED        0336    de      UN-ASSIGNED        0337    df      UN-ASSIGNED        0340    e0      UN-ASSIGNED        0341    e1      \B      Beta symbol.        0342    e2      UN-ASSIGNED        0343    e3      UN-ASSIGNED        0344    e4      UN-ASSIGNED        0345    e5      UN-ASSIGNED        0346    e6      \mu     microsecond symbol (mu symbol)        0347    e7      UN-ASSIGNED        0350    e8      \O-     Empty set symbol. (narrow 'O' with a slash through it)        0351    e9      UN-ASSIGNED        0352    ea      \Om     Omega symbol.        0353    eb      UN-ASSIGNED        0354    ec      UN-ASSIGNED        0355    ed      \o-     A small short 'o' with a slash through it. (phi)        0356    ee      UN-ASSIGNED        0357    ef      UN-ASSIGNED        0360    f0      UN-ASSIGNED        0361    f1      \+-     a plus minus symbol (A '+' character on top of a '-')        0365    f5      \x      Times symbol (multiplication)        0366    f6      \dv     Division symbol        0370    f8      \^o     Degree symbol. (small raised cirle)        0373    fb      \sq     Square root symbol.        0375    fd      \^2     Power of 2 symbol.        0376    f0      UN-ASSIGNED        0377    ff      UN-ASSIGNED
 

RETURN VALUES

A non-NULL pointer is returned to indicate success. The pointer willpoint to a malloc'd string which is identical to str, except thatASCII escape sequences have been converted to the B.O.S.S. binaryequivalent.
NULL:
A NULL pointer is returned to indicate an error. Usually a memoryerror or invalid character.
 

SEE ALSO

BossDecodeStr(3), BossError(3), boss_format(5), boss_data(3) 

AUTHOR

Ken Stauffer

Email: kstaufferAATTattmail.com


 

Index

NAME
SYNOPSIS
DESCRIPTION
ESCAPE SEQUENCES
RETURN VALUES
SEE ALSO
AUTHOR

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector