Use buffer length instead of string length
Use buffer length instead of string length

When writing multi-byte characters to CUPS, the string length won't match
the buffer size that CUPS requires.  Use the byte size of the string to
make sure every character is received by the C code.

nehresma/cupsffi