I having a the Word Bahnhofstraße But in html the word look like 'BahnhofstraÃe' So How to Support the word in HTML.
Asked
Active
Viewed 45 times
-1
-
1google html special characters and you're done – SuperDJ Apr 17 '15 at 11:43
-
Did You set proper HTML characters coding in meta tags? – Jazi Apr 17 '15 at 11:47
-
1Made a small overview of how to use [UTF-8 for PHP and MySQL](http://www.martinstoeckli.ch/php/php.html#utf8). – martinstoeckli Apr 17 '15 at 11:58
-
here is [a SO answer](http://stackoverflow.com/questions/279170/utf-8-all-the-way-through) which is more extensive than martinstoeckli link about using UTF8 all the way through (the best way to avoid headaches in the future), and titles aren't in Comic Sans ^_^. Character encoding can be very tricky... oups, I see this was already flagged as duplicate to the exact same question... – Laurent S. Apr 17 '15 at 12:31
1 Answers
1
Check out: https://www.utexas.edu/learn/html/spchar.html
So you end up with:
Bahnhofstraße
(ß
) or: Bahnhofstraße
(ß
) put that in your code and check it in your browser. See if that helps.
You can also check you charset
forexample: <meta charset="utf-8">
this can be set in the header. You can also set it with PHP.

SuperDJ
- 7,488
- 11
- 40
- 74
-
-
@RAMART Yes: learn about encodings and handle them correctly. See the duplicate. – deceze Apr 17 '15 at 11:56