I have a site on this address http://www.kela.nu and in the Google result it shows UTF8 error in the description and in the title. How come? It looks correct with a web browser.
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=site%3Akela.nu
Some characters was encoded wrong. The mixed encoding made Google confused. When fixing the encoding, Google fixed the rest.
Related
Hi for some months ago all of my website pages started showing question marks � instead of ÅÄÖ. The browser sets default encoding to Unicode, however if I change it to Western European it shows ÅÄÖ totally fine.
The weird thing is, all new entries on the website shows ÅÄÖ totally fine with Unicode. It's only the old pages that seem to have the problem.
I tried to set charset in .htaccess and headers but without any luck.
Any idea what to do here?
Website with Unicode
Website With Western European
You need to set the correct encoding when you save the files. Your old files were probably saved with the wrong encoding.
i have an utf8 encoding issue.
i have on all my html sites.
but if you go to http://lukasrauen.com/about.html you can see that some letters like ü or – are displayed wrong.
sometimes it works, sometimes it doesnt. but if you change the page to work and change it back to about it displays wrong.
what could be the fault for that?
i changed the serversettings to default_charset utf8, but still it doesnt work.
I implemented history.js for fluid page transitions, maybe it has something to do with that?
thanks in advance
Your page says it is UTF-8 but really it isn't. Enter the URL of your website at the W3C Validator to see for yourself.
This is the current result for http://lukasrauen.com/about.html
Make sure the file is actually saved in UTF-8 format.
Facebook like button is not working with Cyrillic domains. I've tried diffrent methods, but I still cannot see it.
What can I do to resolve it.
did you try punnycode (fore reference see http://en.wikipedia.org/wiki/Punycode)? you might want to check punycode converter on http://mct.verisign-grs.com/ (first google result I had)
you could try using punnycode converter from Cyrillic IDN (internationalized domain name) from Unicode to Ascii (format readable by browsers), so it would look like:
Unicode пример.ru
ASCII xn--e1afmkfd.ru
Im not sure if this will help, but try to use this Ascii version of your Cyrillic url in facebook code.
On my FF browser, the encoding is set to UTF-8. The french accents are displayed properly on all pages except one page. On the trouble page, they show up as '?' marks. When I change the encoding to western, the trouble page displays french accents properly, while the other pages now do not display french accents properly.
On IE, the setting is UTF-8 and all pages show proper french accents
I know it's an old post. But, I was facing the same issue and I used htmlentities() in php, when nothing else worked out. This solved the purpose for me, so thought of mentioning it here so that someone else can benefit from it.
What's the web page?
Most likely the page's own encoding is ISO 8859-1 or something similar (a pure 8-bit encoding). Some web pages don't bother to specify their own encoding in the Content-Type: header, leaving the browser to guess. Apparently in this case Internet Explorer guesses better than Firefox.
If you have the curl command, try curl --head URL to see how and whether the encoding is specified, or right-click and View Page Info in Firefox.
You might consider contacting the owner of the web page and asking them to set the encoding properly (or, as I'd do, just ignore it).
I have a wordpress installation that clients can edit, all characters display ok. On the main homepage I query the same database for the same title and post content, but it doesn't display correctly - just a question mark
I have tried sending the utf8 headers manually, through htaccess and through meta tags. I have used SET name UTF8 (which turns the characters into the diamond symbol with a questionmark inside).
I genuinely cant figure out what it could be now and I really need these characters to display correctly.
Heres the homepage, you can see in the Sounddhism 6 preview that there are lots of question marks, if you click on it you will see what they are meant to look like
http://nottingham.subverb.net
I have passed it through the validator and it gives me this error:
Sorry, I am unable to validate this document because on line 373 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.
The error was: utf8 "\xA0" does not map to Unicode
Which, i appreciate is supposed to help me, but I don't know what to do about it. Especially since that line, the letter generating the error is supposed to be a space and is AFTER the offending question marks.
Can anyone help?
Compare the encoding of both the back-end scripts in Wordpress and also your homepage script. If you're using IE, right-click the page and check the encoding. Sometimes it's set to "Auto-detect" and IE will often detect a different encoding for different pages, causing strange issues like this.
If you're not using IE, try using a tool like Fiddler to see exactly what encoding (and what bytes are being sent back and forth both in the back-end and your homepage script.
If forcing UTF-8 on your homepage script doesn't work, I would guess that the back-end is not using UTF-8.