[wp-trac] [WordPress Trac] #30796: Entity Name vs. Entity Number

WordPress Trac noreply at wordpress.org
Sat Sep 3 14:30:36 UTC 2016


#30796: Entity Name vs. Entity Number
--------------------------------------+------------------------------
 Reporter:  johnjamesjacoby           |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Text Changes              |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |     Focuses:
--------------------------------------+------------------------------
Changes (by GaryJ):

 * keywords:  needs-patch => needs-patch dev-feedback


Comment:

 [http://www.w3.org/TR/html-polyglot/#named-entity-references Polyglot
 markup] requires numbered entities and the W3C Recommendation is that
 [http://www.w3.org/TR/2005/REC-charmod-20050215/#C048 numbered entities
 SHOULD use the hexadecimal form when it exists].

 Is WP UTF-8 safe yet? Could we use the real `’` in the code?

 Even with numbered or named entities, do translators ensure those entities
 are used in contractions in the translated strings? Does GlotPress do any
 sort of conversion? How about plugin authors? I feel some more answers are
 needed beyond just whether to change the source, to see what effect (good
 or bad) it will have for translators.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30796#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list