Add getpreferredencoding. Support @euro modifiers. Fixes #554676.
The @euro part is backported to 2.2.3.
diff --git a/Misc/NEWS b/Misc/NEWS
index 3a026df..71eacc8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -325,7 +325,8 @@
 - posix.lchown, posix.killpg, posix.mknod, and posix.getpgid have been
   added where available.
 
-- The locale module now exposes the C library's gettext interface.
+- The locale module now exposes the C library's gettext interface. It
+  also has a new function getpreferredencoding.
 
 - A security hole ("double free") was found in zlib-1.1.3, a popular
   third party compression library used by some Python modules.  The