Issue #14990: tokenize: correctly fail with SyntaxError on invalid encoding declaration.
diff --git a/Misc/NEWS b/Misc/NEWS
index 699b4fb..92131b4 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -87,6 +87,9 @@
 Library
 -------
 
+- Issue #14990: Correctly fail with SyntaxError on invalid encoding
+  declaration.
+
 - Issue #15247: FileIO now raises an error when given a file descriptor
   pointing to a directory.