[GRASS-dev] g.message and unicode in python
Nikos Alexandris
nik at nikosalexandris.net
Fri Nov 21 02:51:29 PST 2014
How can I print an informational message, using g.message, that
contains unicode stuff via python (2.x)?
For example, how do I correctly translate this command
g.message message="ρ(p) = π x L(λ) x d^2 / ESUN(λ) x cos(θ(S))"
(it contains the greek r (ρ, pronounced rho) and pi (π, pronounced pe)
to work in a python script?
Thank you, Nikos
ps- I am trying to understand unicode stuff by reading this
<http://nedbatchelder.com/text/unipain.html> but I am still not able to
get past this "simple" problem.
More information about the grass-dev
mailing list