utf 8 encoding not working - 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.

Related

TinyMCE converting ampersand in querystring to HTML entity

Edit: My assumptions about encoding were incorrect. I'm leaving the question as originally asked in case others come here with the same misunderstanding.
When I include a link in some text in the editor that includes a querystring, then view the source code, I can see that it's converted any & characters in the href to &, which breaks the links.
A link
becomes
A link
and if I change it back to just & in the source, click Ok on the view source dialog, then immediately view source again, it's already worked its charms and encoded the & once again.
Is there a way to cue the editor to go ahead and convert those outside tag attributes, but not mess with those in attributes?
Using an older version (4.0.12), but I see the behavior on the current live sample right on tinymce.com, so if it's a bug it looks like it hasn't been fixed. But I am wondering if it's just a setting I'm missing.
Relevant questions:
Do I encode ampersands in <a href...>?
Do ampersands still need to be encoded in URLs in HTML5?
The HTML spec actually states that ampersands in HTML attributes have to be encoded so TinyMCE is working 100% as it should. If your server side code is not handling that correctly that is an issue with the server side code.

GWT with appengine - displaying and Storing (to datastore) special characters, how to?

so i am a bit stucked on this and i am also a bit lost. I have a GWT App and all .java files and everything is encoded in cp1250 (as default, from container) i tried to change encoding at my .html (because everything was in UTF-8)
<meta http-equiv="content-type" content="text/html; charset=cp1250">
and also web.xml file,appengine-web.xml file and .gwt.xml file
<?xml version="1.0" encoding="utf-8"?>
to cp1250 but i cant get the encoding right, i need to display and store characters like áéžčťíóšľĺ... i also tried to change encoding of some .java files to ISO--8859-1 as well as in the .html and .xml files but nothing worked. I dont know EXACTLY what to change, so maybe thats my problem.
I use RPCs for text(String) transfer so i can get those characters from input to server side and write them with println() correctly, but i cant save them to datastore correctly.
So, is there a way to store such characters or show them in Labels etc. ? If yes, what should i do exactly ? Or storing in datastore and showing them only in com.google.gwt.user.client.ui.HTML would be sufficient as well, thanks a lot for your time.
SOLUTION
Ok so basicaly what i was doing wrong was that default cp1250 enxoding. Just set the encoding on everything to UTF-8 and displaying and storing will be just fine, it will convert some of special characters in your code to "?" when u change it, but with a little bit of extra work you can change it back.
Sorry for the dumb question, but i though UTF-8 wasnt way to go... idk why :P

UTF-8 on FF cannot display french accents

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).

How can I properly display Vietnamese characters in ColdFusion?

I having a hard trying to properly display Vietnamese text in ColdFusion. I've proper charset set to UTF-8 but still no luck. The same texts work fine in a HTML page. What else am I missing? Any suggestion would be much appreciated.
Html:
ColdFusion:
Thanks!
There are two things you need to watch out for, as far as I recall of the top of my head.
The first is to ensure that the .cfm file itself is saved as UTF-8 - this is a file system option, and will probably be settable in your editor. This ensures that the UTF-8 characters are correctly preserved when saving the file.
The other is that every .cfm file that includes any UTF-8 text should start with:
<cfprocessingdirective pageencoding="utf-8" />
This ensures that ColdFusion delivers the page to the browser in the correct format.
Just to be sure, when you display your working HTML, can you check the page encoding used by your browser (ie. in FireFox you can right-click+page Info). Maybe your text is not UTF-8 encoded that could explain the problem...

UTF8 encoding problem, same results work fine in wordpress

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.