php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33079 User comments charset formatting issue
Submitted: 2005-05-20 13:29 UTC Modified: 2008-11-13 16:29 UTC
From: mvl22 at mailinator dot com Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mvl22 at mailinator dot com
New email:
PHP Version: OS:

 

 [2005-05-20 13:29 UTC] mvl22 at mailinator dot com
Description:
------------
On
http://uk.php.net/flock

text formatting goes screwy from the word "Klaus" onwards in the comments.

I see ?trong> at the end of that line using IE.

On Firefox the problem doesn't occur, but �ck appears at the end of the line.

Looks like the u-umlaut isn't having htmlentities applied.

PS I suggest that the "PHP Version" field in this bug reporting system be non-mandatory when "Type of bug" = "Documentation problem". I've set PHP version to 5.0.4 but this is totally irrelevant here: it's a documentation issue.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-20 16:15 UTC] vrana@php.net
PHP manual is in UTF-8 now but user comments are in the single byte encoding. To fix it:

1. Convert old user notes from iso-8859-1 to utf-8.
2. Output add-note.php page in utf-8 to have new notes in the proper encoding.

Or: Leave user notes in iso-8859-1 and convert them in the time of output.
 [2005-05-21 13:01 UTC] goba@php.net
Jakub, I think that for an immediate solution, a simple utf8_encode() call would do on user note output. What do you (or anyone else) think?
 [2005-09-20 14:36 UTC] derernst at gmx dot net
This might be solveable by adding add-charset="UTF-8" to the form tag of the add user note page; anyway existing notes will not be corrected by that measure.
 [2008-11-13 16:29 UTC] philip@php.net
looks fixed.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 20 16:00:01 2025 UTC