The Chess Variant Pages
Custom Search




[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

Later Reverse Order Earlier
This item is a miscellaneous item
It belongs to categories: Orthodox chess, 
It was last modified on: 2010-12-28
 By David  Howe. UTF Conversion Page. Page for documenting UTF conversion issues.[All Comments] [Add Comment or Rating]
(zzo38) A. Black wrote on 2011-03-28 UTC

The problem with exhibiting HTML tags verbatim is the one I know what it is. Whoever programmed the comment system needs to correct it in the following way: Any code that outputs some text inside of a HTML TEXTAREA must use htmlentities() or htmlspecialchars() function in order to convert the text before sending it to the client. The client will convert it back to the proper way when sending the form back to the server. This also needs to be corrected in the submission forms for member submitted game information page.

Also, there is still many more files that have not yet been converted to UTF-8, and still needs converted (however, most files are plain ASCII and do not need converted).


Fergus Duniho wrote on 2011-01-27 UTC
In your case, your personid includes a non-ASCII character. I have asked David to do the same thing with the personids as he did with the itemids, but he hasn't done anything yet. Every page is already sending a header that identifies the page as UTF-8, but it is done on a site-wide basis with the .htaccess file, not on a file-by-file basis with meta tags. The problem is not in getting your browser to recognize pages as UTF-8. The problem is that many pages still include non-ASCII characters that are unrecognizable in UTF-8. I edited your name last night to change the question mark diamond into an umlauted o, but I didn't edit your personid, because that would just create a new personid. The personid problem is a more systematic one that needs to be handled on a database level with care and thoroughness.

Jörg Knappen wrote on 2011-01-27 UTC
In my previous comment I wanted to exhibit some html tags verbatim. They were visible in the preview, but are now invisible (but still there, when you view the source of the page!)

Jörg Knappen wrote on 2011-01-27 UTC
Unfortunately, the UTF conversion problems strikes me in several ways: I cannot edit any longer my own comments, and in my name i get an ugly (diamond with a question mark) displayed. This latter proble should be easily fixed by sending an appropriate header in the html; it is one line that reads: <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'> This line should be close to the top of the page, after the tag. I don't know if this fixes the former problem, too. --J'org Knappen ((To the editors: You may delete this comment after reading it))

Fergus Duniho wrote on 2011-01-05 UTC
David, I've found a personid with an umlauted o in it: J%F6rgKnappen. Can you do the same thing to personids that you did to itemids?

5 comments displayed

Later Reverse Order Earlier

Permalink to the exact comments currently displayed.