[GRASS-user] d.text greek letters.

Martin Album Ytre-Eide Martin.Album.Ytre-Eide at nrpa.no
Wed May 18 05:30:52 PDT 2016


Hello list.

I am struggling with using the greek letter µ in my d.text from a python script:

I trying something like this

Module('d.text',text='µ',at=('85','20') charset='utf8')

I know that the issue is with the encoding of the characters..... but I do not know how to fix it.

In the gui i can use µ with add text layer - so I guess this is a python to grass issue.

I trying to write a png-file. I guess a could use the ps.map, but I rather not.

I using grass 7.0.4

anyone know what to do?

Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160518/d9133992/attachment.html>


More information about the grass-user mailing list