• Unicode

Question related to mission Earth Distances


Hello all,

I am having some issues with the Unicode strings. For example when I try to print u"51°28′48″N I got 51°282483N (it changes ′->2 and ″->3). I could use a strategy to "clean" the input but I would like to know if there is something I can do to avoid this change.

I used google but didn't get a solution (it says that P3 considers all the strings as unicode, and also some options for encoding, but so far spyder keep changing those symbols to numbers).

Best, lij