shakey_snake Posted March 20, 2009 Share Posted March 20, 2009 I'd guess the same thing happens with curly quotes too, but I haven't tested it. Link to comment Share on other sites More sharing options...
Andrew Lyle Global Moderator Posted March 20, 2009 Global Moderator Share Posted March 20, 2009 Um sorry, i'm having trouble understanding, what exactly is messing up? like the exact character Link to comment Share on other sites More sharing options...
shakey_snake Posted March 20, 2009 Author Share Posted March 20, 2009 (edited) Curly quotes “ ” and Curly apostrophe ’ and curly opening single quote ‘ are messing up. in contrast to straight quotes " " and straight apostrophe ' see here: http://en.wikipedia.org/wiki/Apostrophe#Computing Edited March 20, 2009 by shakey_snake Link to comment Share on other sites More sharing options...
the evn show Posted March 20, 2009 Share Posted March 20, 2009 I think it's a character encoding issue. I use ?fancy quotes??em-dashes and 2?3 en-dashes when?the correct ?e? when I write words like expos? and ellipsis?maybe a plus or minus symbol twice ? 1 time when I post. You notice it on news comments but not in the forums. Link to comment Share on other sites More sharing options...
shakey_snake Posted March 20, 2009 Author Share Posted March 20, 2009 Well, here's an example of a problem post: https://www.neowin.net/news/main/09/03/19/m...n#comment759114 You're right about the encoding. It decodes fine when manually set to unicode. The problem is that the page source is telling my browser (firefox) otherwise: <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> [edit]Interestingly this page contains the same header but displays those characters fine. Which leads me back to thinking it's a substitution issue (or lack there of) on the user input box when making a comment. Link to comment Share on other sites More sharing options...
nvme Posted March 20, 2009 Share Posted March 20, 2009 it looks like the forums are turning the curly quotes into the html entity equivolent. look at the source and you'll see them: " the news is sending the actual unicode character through and not converting it. Link to comment Share on other sites More sharing options...
The_Decryptor Veteran Posted March 22, 2009 Veteran Share Posted March 22, 2009 It won't be really really fixed until PHP gets proper support for Unicode, and then the software would be updated to work with it. Be happy Unicode works in the places it does, since it's not really supported by the code. Link to comment Share on other sites More sharing options...
d4v1d05 Posted March 22, 2009 Share Posted March 22, 2009 It won't be really really fixed until PHP gets proper support for Unicode, and then the software would be updated to work with it.Be happy Unicode works in the places it does, since it's not really supported by the code. Looks more to do with Neowin's site comments code than PHP itself. If IPB can handle the same unicode characters just fine, what makes you think it's PHP's lack of full support for unicode? And as shakey_snake said, the news page is sending an ISO-8859-1 header, and then trying to send unicode over this? Perhaps change the encoding of the html to UTF-8, or convert the comments themselves (like the forum does)? Link to comment Share on other sites More sharing options...
Fred Derf Veteran Posted March 22, 2009 Veteran Share Posted March 22, 2009 Thread titles that end with non-alphanumeric characters cause IPB to add weird stuff to the title. I often strip the quotes out of the thread titles to fix the appearance. Link to comment Share on other sites More sharing options...
Recommended Posts