[wp-trac] [WordPress Trac] #40675: Accented letter at end of line displays wrong
WordPress Trac
noreply at wordpress.org
Mon May 8 07:40:29 UTC 2017
#40675: Accented letter at end of line displays wrong
-------------------------------+------------------------------
Reporter: niente0 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.7.4
Severity: normal | Resolution:
Keywords: needs-screenshots | Focuses:
-------------------------------+------------------------------
Comment (by niente0):
I did further testing. Since on local server it doesn't happen, I created
two similar pages, saved and compared their html.
Local page has correct à-è-ì-ò-ù '''1-byte''' characters, while page
coming from remote server encode them with '''2-bytes''' (for example è is
encoded as C3 A8).
Although I don't know why, this should not represent a big problem, except
for the fact that if the 2-bytes char is at the end of line, the second
byte is cut, leaving only C3 (unknown char).
Other details: Content type in response header is "text/html;
charset=UTF-8" for both, there is no BOM, I have "define('DB_CHARSET',
'utf8');" in wp-config.php. Both local and remote sites have same plugins,
and it happens also deactivating them all.
Any suggestion? Thanks
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40675#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list