Return the given native string as a unicode string with the given encoding.
(n, encoding='ISO-8859-1')
| 31 | |
| 32 | |
| 33 | def ntou(n, encoding='ISO-8859-1'): |
| 34 | """Return the given native string as a unicode string with the given |
| 35 | encoding. |
| 36 | """ |
| 37 | assert_native(n) |
| 38 | # In Python 3, the native string type is unicode |
| 39 | return n |
| 40 | |
| 41 | |
| 42 | def tonative(n, encoding='ISO-8859-1'): |
searching dependent graphs…