Ignore:
Timestamp:
Dec 21, 2007, 8:55:58 AM (12 years ago)
Author:
cameron
Message:

Ext_ASCII_16LE/charset_family updates.

File:
1 edited

Legend:

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

    r4 r6  
    3232};
    3333
    34 // Identify all bytes in the range 0xD8 through 0xDF.
     34// Identify all positions in the range 0xD800 through 0xDFFF.
    3535inline BytePack mark_surrogates(BytePack u16hi, BytePack u16lo) {
    3636  return simd_eq_8(simd_andc(u16hi, simd_const_8(0x07)),
     
    3838}
    3939
    40 // Identify all pairs of bytes either FFFE or FFFF.
     40// Identify all positions that have either FFFE or FFFF.
    4141inline BytePack mark_FFFE_FFFF(BytePack u16hi, BytePack u16lo) {
    4242  return simd_eq_8(simd_and(u16hi, simd_or(u16lo, simd_const_8(1))),
Note: See TracChangeset for help on using the changeset viewer.