Swedish characters in Python strings
Martin v. Loewis
martin at v.loewis.de
Sun Oct 13 15:38:40 EDT 2002
urban.anjar at hik.se (Urban Anjar) writes:
> I think Python should take care of that kind of conversions
> behind the scene...
Python cannot really do this, both because it is not possible, and
because it would break tons of existing code.
> By the way, is there a method to test strings for how they are
> coded before messing with them in a program.
That's part of the problem: this is not possible. If it were possible,
Python would be doing it behind the scene.
Regards,
Martin
More information about the Python-list
mailing list