Set binary=True for mapfile file handling
authorW. Trevor King <wking@drexel.edu>
Tue, 17 Nov 2009 13:36:22 +0000 (08:36 -0500)
committerW. Trevor King <wking@drexel.edu>
Tue, 17 Nov 2009 13:36:22 +0000 (08:36 -0500)
commiteaa6d158608b0b47c337fc1433902532bc646128
treed133104f2decacd514f88c3888b120191ccd6b5b
parent32fbab0fb8f5defc3698d288024a10b8d32a0f25
Set binary=True for mapfile file handling

The YAML library produces Python string encodings of unicode objects.
There's no reason to try and convert them back into Python unicode
objects just to save them with binary=False, because the files are
only read in to be passed into the YAML parser, which can handle the
unicode characters correctly.
libbe/mapfile.py