What problem is it trying to fix? And how does it do that (if it does actually work)?
In general, explicit encoding/decoding only makes sense when either: a) you're given a unicode string but need a byte string b) you're given a byte string but need a unicode string c) you're given a byte string in one encodingbut need a byte string in a different encoding. Taking a byte string, converting it to unicode using the locale's default encoding, then converting it back to a byte string using the same encoding achieves nothing (but creates additional possibilities for failure in the event that the selected encoding is incorrect). -- Glynn Clements <gl...@gclements.plus.com> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev