Fix broken xmlcharrefreplace by rev 2.204.
(Pointy hat goes to perky)
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 37395c7..b3c4a01 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -2413,12 +2413,12 @@
 			    repsize += 2+2+1;
 			else if (*p<1000)
 			    repsize += 2+3+1;
-#ifndef Py_UNICODE_WIDE
-			else
-			    repsize += 2+4+1;
-#else
 			else if (*p<10000)
 			    repsize += 2+4+1;
+#ifndef Py_UNICODE_WIDE
+			else
+			    repsize += 2+5+1;
+#else
 			else if (*p<100000)
 			    repsize += 2+5+1;
 			else if (*p<1000000)