[wp-trac] [WordPress Trac] #30796: Entity Name vs. Entity Number
WordPress Trac
noreply at wordpress.org
Sat Sep 3 15:24:32 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:
--------------------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:3 GaryJ]:
> Is WP UTF-8 safe yet? Could we use the real `’` in the code?
There's a precedent in [38359].
> Even with numbered or named entities, do translators ensure those
entities are used in contractions in the translated strings?
I think entities were originally used to make sure the code is ASCII-only,
and prevent code editors from introducing issues like the one just fixed
in [38517] :) That said, I guess most editors should be UTF-8 safe now.
Translators can use actual characters instead of entities, that should not
cause any issues.
> Does GlotPress do any sort of conversion?
Not that I know of.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30796#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list