#2798: PyArg_ParseTuple did not correctly handle the "s" code in case of unicode strings
with chars outside the 7bit ascii (s# was already correct).
This is necessary to allow python run from a non-ASCII directory,
and seems enough on some platforms, probably where the default PyUnicode encoding (utf-8)
is also the default filesystem encoding.
diff --git a/Misc/NEWS b/Misc/NEWS
index 0af5a10..e40844e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@
Core and Builtins
-----------------
+- Issue 2798: When parsing arguments with PyArg_ParseTuple, the "s" code now
+ allows any unicode string and returns a utf-8 encoded buffer, just like the
+ "s#" code already does. The "z" code was corrected as well.
+
- Issue 2801: fix bug in the float.is_integer method where a ValueError
was sometimes incorrectly raised.