title: Writing text with carriage return to image in Python using PIL
body: <p>I have a python script that is writing text to images using the PIL. Everything this is working fine except for when I encounter strings with carriage returns in them. I need to preserve the carriage returns in the text. Instead of writing the carriage return to the image, I get a little box character where the return should be. Here is the code that is writing the text:</p>
  
  <pre><code>&lt;code&gt;
   draw = ImageDraw.Draw(blankTemplate)
   draw.text((35 + attSpacing, 570),str(attText),fill=0,font=attFont)
  &lt;/code&gt;
  </code></pre>
  
  <p>attText is the variable that I am having trouble with. I'm casting it to a string before writing it because in some cases it is a number. </p>
  
  <p>Thanks for you help.</p>