Changeset 117 for trunk/src/charsets


Ignore:
Timestamp:
Apr 29, 2008, 6:15:30 AM (11 years ago)
Author:
cameron
Message:

at_PubIdChar, ASCII/EBCDIC templated CR, LF, HT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/charsets/ASCII_EBCDIC.h

    r89 r117  
    1818#endif
    1919#include "../xmlmodel.h"
     20
     21template<CodeUnit_Base C> struct CR;
     22template<> struct CR<ASCII> {static unsigned char const value = 0x0D;};
     23template<> struct CR<EBCDIC> {static unsigned char const value = 0x0D;};
     24
     25template<CodeUnit_Base C> struct LF;
     26template<> struct LF<ASCII> {static unsigned char const value = 0x0A;};
     27template<> struct LF<EBCDIC> {static unsigned char const value = 0x25;};
     28
     29template<CodeUnit_Base C> struct HT;
     30template<> struct HT<ASCII> {static unsigned char const value = 0x09;};
     31template<> struct HT<EBCDIC> {static unsigned char const value = 0x05;};
    2032
    2133template<CodeUnit_Base C, unsigned char c> struct Ord;
Note: See TracChangeset for help on using the changeset viewer.