When I try to view the Readme file in Advanced Help, I get this warning and no text shows:

Warning: htmlspecialchars(): Invalid multibyte sequence in argument in check_plain() (line 1521 of /var/www/includes/bootstrap.inc).

Comments

falcon’s picture

Title: Multibyte Error on Readme File in Advanced Help » Add support for Advanced Help
Category: bug » feature
attheshow’s picture

Version: 7.x-4.x-dev » 7.x-5.x-dev
Issue summary: View changes
StatusFileSize
new549 bytes

Looks like just a character encoding issue. Did a quick fix by changing it to use chx's username in the README.txt. Also went ahead and updated the file to say Drupal 7.x instead of 6.x since we're in the 7.x-5.x branch.

attheshow’s picture

Status: Active » Needs review
gisle’s picture

While the patch in #2 makes the problem go away, it replaces the person's real name with a user name.

This patch fixes it and retains the original name with correct UTF-8 encoding.

Please also note that the latest 7.x-1.x-dev version of Advanced Help no longer chokes on invalid multibyte sequences. See child issue #2659746: Don't choke on invalid multibyte sequences.

Status: Needs review » Needs work

The last submitted patch, 4: quiz-Add-support-for-Advanced-Help-1330056-4.patch, failed testing.

gisle’s picture

Version: 7.x-5.x-dev » 7.x-4.0-rc2
Status: Needs work » Needs review

Corrected version. Apply the patch in #4 to 7.x-4.0-rc2 or 7.x-4.x-dev.

Status: Needs review » Needs work

The last submitted patch, 4: quiz-Add-support-for-Advanced-Help-1330056-4.patch, failed testing.

djdevin’s picture

Version: 7.x-4.0-rc2 » 7.x-5.x-dev

This has to go to 5.x first.

djdevin’s picture

Status: Needs work » Closed (fixed)

readme.txt no longer exists, it is now README.md with completely different content anyway.