[Python-Dev] C code: %s vs %U

Ethan Furman ethan at stoneleaf.us
Wed Mar 26 02:43:30 CET 2014


%s is a string.

%U is unicode?

If so, then %s should only be used when it is certain the string in question has no unicode in it?

--
~Ethan~


More information about the Python-Dev mailing list