[fp-dev] [PATCH] proper use of htmlentities
Moved to GitHub: https://github.com/flatpressblog/flatpress
Brought to you by:
real_nowhereman
|
From: Naoki H. <n...@h7...> - 2006-11-17 09:29:29
|
Hello, Current version (0.611) has a chance to garble comment author's name because of incorrect use of htmlentities(). For example, if I filled out my name in Japanese, it never got through as it was and ended up showing garbled characters. So, this patch is essential for languages other than ISO-8859-1. By the way, I found that many of files are pretty mess with CRLF and LF. I am not sure what you are using (probably Windows, eh?) and how this mess happened. Having LF lines and CRLF lines in a file is little bothersome :-( As you may know, you can remove all CR by the following command if you have those commands: $ find . -name "*.php" | xargs perl -pi -e 's/^M//' I did this to my working files but better applied to original files. Thanks, -- Hiroshima |