Additional test to verify behavior of codepage segmentation.
PDF strings should be byte slices.
Port textWriter from Ruby.