xp-framework/webtest

Problem with HTML w/o encoding

thekid opened this issue · 1 comments

When HTML is loaded without encoding, the content is double-encoded later.

See https://travis-ci.org/xp-framework/webtest/builds/74381300:

These work

(All PHP versions, including HHVM)

<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">

These don't work on Travis-CI (?!)

(But on: Windows 10 as well as inside a VirtualBox w/ Ubuntu on that machine; w/ all PHP versions, including HHVM inside the VirtualBox)

<meta charset="utf-8">
<meta charset="iso-8859-1">

This doesn't work anywhere

<!-- No meta tag -->