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

Serhiy Storchaka storchaka at gmail.com
Wed Mar 26 09:14:06 CET 2014


26.03.14 03:43, Ethan Furman написав(ла):
> %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?

%s is UTF-8 encoded string.




More information about the Python-Dev mailing list