Changeset 304 for proto/parabix2


Ignore:
Timestamp:
Sep 16, 2009, 11:00:51 AM (10 years ago)
Author:
ksherdy
Message:

Use Python byte strings for demo_validate_xmlchar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/parabix2.py

    r303 r304  
    4141
    4242def demo_validate_xmlchar(u8data):
    43         u8data = u8data.encode('utf-8')
    4443        lgth = len(u8data)
    4544        (bit, EOF_mask) = bitutil.transpose_u8_byte_streams(u8data)
Note: See TracChangeset for help on using the changeset viewer.