I have an RST file to compile with Sphinx.
I have a block diagram there.
I want to give non-english names to some of its nodes.
.. blockdiag::
diagram {
"UberMega" -> "HellSotona" -> "KakoDemon" -> "Кролики и котятки";
}
Alas, it gives me an error:
File "C:\Python2\lib\site-packages\blockdiag\imagedraw\png.py", line 282, in textlinesize
size = self.draw.textsize(string, font=None)
File "C:\Python2\lib\site-packages\PIL\ImageDraw.py", line 282, in textsize
return font.getsize(text)
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-5: ordinal not in range(256)
WARNING: blockdiag error: UnicodeEncodeError caught (check your font settings)
How can I cope with it?