diff --git a/Lib/htmlentitydefs.py b/Lib/htmlentitydefs.py
index bcc24202463..e2b7bf1fb88 100644
--- a/Lib/htmlentitydefs.py
+++ b/Lib/htmlentitydefs.py
@@ -265,9 +265,6 @@
for (name, codepoint) in name2codepoint.items():
codepoint2name[codepoint] = name
- if codepoint <= 0xff:
- entitydefs[name] = chr(codepoint)
- else:
- entitydefs[name] = '%d;' % codepoint
+ entitydefs[name] = chr(codepoint)
del name, codepoint