Okay, this is a bit of a stumper
May. 12th, 2009 09:57 amI'm seeing a discrepancy in what I see in some of our Japanese pages when I do a View Source on it on the QA version of our site vs. the prod version. Anybody want to help me suss this out?
So I go in IE 7 to the QA version of the page. I do a "View Source" on it and the page's source code pops up in Notepad as expected. I see a bunch of garbled characters that are supposed to be the Japanese characters.
I do this exact same thing on the production version of the page, and I see the actual Japanese characters. To wit, buh?
This therefore can't be an issue with Notepad failing to display the Japanese characters correctly. It can do it with the production page just fine. But what I don't get is why Notepad on the exact same computer shows me garbled characters for one page and Japanese characters for another one.
Note also that the QA version of the page displays the Japanese characters in the source code just fine if I look at it in Firefox.
Anybody got any theories?
So I go in IE 7 to the QA version of the page. I do a "View Source" on it and the page's source code pops up in Notepad as expected. I see a bunch of garbled characters that are supposed to be the Japanese characters.
I do this exact same thing on the production version of the page, and I see the actual Japanese characters. To wit, buh?
This therefore can't be an issue with Notepad failing to display the Japanese characters correctly. It can do it with the production page just fine. But what I don't get is why Notepad on the exact same computer shows me garbled characters for one page and Japanese characters for another one.
Note also that the QA version of the page displays the Japanese characters in the source code just fine if I look at it in Firefox.
Anybody got any theories?
no subject
Date: 2009-05-12 05:18 pm (UTC)no subject
Date: 2009-05-12 05:18 pm (UTC)no subject
Date: 2009-05-12 05:36 pm (UTC)If the site's being served from Apache, check the .htaccess files as well as the site and host-wide configuration files. If there's browser-detection code on the server side, check that.
no subject
Date: 2009-05-12 07:13 pm (UTC)Look at the HTTP headers, for sure.
Date: 2009-05-12 06:45 pm (UTC)Re: Look at the HTTP headers, for sure.
Date: 2009-05-12 07:13 pm (UTC)Re: Look at the HTTP headers, for sure.
Date: 2009-05-12 07:19 pm (UTC)Re: Look at the HTTP headers, for sure.
Date: 2009-05-12 10:35 pm (UTC)Re: Look at the HTTP headers, for sure.
Date: 2009-05-12 10:50 pm (UTC)Re: Look at the HTTP headers, for sure.
Date: 2009-05-12 10:48 pm (UTC)"Anybody got any theories?"
Date: 2009-05-13 01:00 am (UTC)Bunnies?
Re: "Anybody got any theories?"
Date: 2009-05-13 02:31 am (UTC)no subject
Date: 2009-05-13 11:39 am (UTC)no subject
Date: 2009-05-16 04:09 am (UTC)I actually eventually figured out the problem, or at least in terms of the immediate cause--though I'm not sure why the problem was happening. ;) There was a game on the QA site with some garbage characters in it and those were confusing Notepad when I looked at the source code.