DPChallenge: A Digital Photography Contest You are not logged in. (log in or register
 

DPChallenge Forums >> Web Site Suggestions >> Character encoding on 'New Thread' page
Pages:  
Showing posts 1 - 10 of 10, (reverse)
AuthorThread
01/10/2010 05:17:26 PM · #1
Would it be possible to add the following line in the <header> section of the 'New Thread' page?

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

What's happening is that every time I type the euro symbol, it's posting as jumbled text or HTML (using opera)

IE or Firefox take a guess at the character encoding when it's not specified on the page, but in Opera things are stricter. It's better to specify the encoding in the page anyway without letting the browser over-ride it.
01/10/2010 05:19:35 PM · #2
Second. It's a pretty important tag.
01/10/2010 05:29:05 PM · #3
This is best handled by submitting an Administrative ticket since Langdon would be the one who needs to see it. But I've sent one in on your behalf, so all is good.
01/10/2010 05:35:52 PM · #4
Originally posted by nshapiro:

This is best handled by submitting an Administrative ticket since Langdon would be the one who needs to see it. But I've sent one in on your behalf, so all is good.

Cheers.
01/13/2010 01:05:41 PM · #5
&#8364;
01/13/2010 01:09:36 PM · #6
&#8364;
01/13/2010 01:24:42 PM · #7
01/13/2010 01:28:58 PM · #8
What's up with ' . substr('//www.dpchallenge.com/images/user_icon/31_N.gif', strrpos('//www.dpchallenge.com/images/user_icon/31_N.gif', '/') + 1) . ' test1's Opera?
01/13/2010 01:41:48 PM · #9
Originally posted by langdon:

What's up with ' . substr('//www.dpchallenge.com/images/user_icon/31_N.gif', strrpos('//www.dpchallenge.com/images/user_icon/31_N.gif', '/') + 1) . ' test1's Opera?

I cheated.

I right-clicked this page in Opera, Edit Site Preferences... and changed encoding group to Western / Windows-1252 so that every time Opera came to this page it would use that character encoding.
01/22/2010 10:38:40 AM · #10
Okay, we're officially stumped on this. So if there are any PHP/HTML gurus out there who want to give it a try...

The problem is that when using Opera 10.10, the euro symbol doesn't appear properly in posts. You get either HTML code, or random characters.

This issue can be worked around at the Opera end by right clicking the page, Edit Site Preference... and selecting 'Encoding Group = Western', Encoding = windows-1252

So, given the above, I thought that putting <meta http-equiv="content-type" content="text/html; charset=windows-1252" /> in the page's <head> would fix it (it's there at the moment, if you want to view page source) - But, it doesn't. We also tried utf-8, to no avail.

This could have something to do with the <textarea> itself, or maybe with the way the PHP writes the post to the database.

The workaround is as described as above, and the issue only affects Opera users when posting euro symbols. But it would be really nice to know why the <head> tag solution isn't working.

Message edited by author 2010-01-22 10:39:06.
Pages:  
Current Server Time: 10/31/2020 07:20:44 AM

Please log in or register to post to the forums.


Home - Challenges - Community - League - Photos - Cameras - Lenses - Learn - Prints! - Help - Terms of Use - Privacy - Top ^
DPChallenge, and website content and design, Copyright © 2001-2020 Challenging Technologies, LLC.
All digital photo copyrights belong to the photographers and may not be used without permission.
Proudly hosted by Sargasso Networks. Current Server Time: 10/31/2020 07:20:44 AM EDT.