Got line wrapping working in quotePrintEncode - just need to implement special char encoding.