Hello Guys,
I am new here. And I need help on sorting umlauts (german umlauts). So, in the database I have stored the O Umlauts using the HTML: "Ö". Now, it will be a problem when I am trying to sort the list.
Any suggestions on sorting Umlauts ?
Thanks a lot,
Chris
Sorting Umlauts ?
Moderator: General Moderators
-
tchristian
- Forum Newbie
- Posts: 2
- Joined: Mon Sep 15, 2008 2:56 am
Re: Sorting Umlauts ?
So, I finally made my database into UTF-8, and it did sort correctly, but the browser does not display it correcly, such as A1`/4 or something like that if you have ever saw it...
And, at my browser, I went to VIEW --> Encoding --> and set it to UTF-8....so, it has to be displayed manually, what if someone opens a browser and he/she does not know how to set the encoding ? I would really like to do it automatically.
Any ideas how to set Browser Encoding from the script (PHP or Javascript) ?
Thanks,
Chris
And, at my browser, I went to VIEW --> Encoding --> and set it to UTF-8....so, it has to be displayed manually, what if someone opens a browser and he/she does not know how to set the encoding ? I would really like to do it automatically.
Any ideas how to set Browser Encoding from the script (PHP or Javascript) ?
Thanks,
Chris
Re: Sorting Umlauts ?
If changing broswer encoding options works for you then I guess this
should do... put in head tag.
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />Re: Sorting Umlauts ?
Code: Select all
header('Content-type: text/html; charset=UTF-8');There are 10 types of people in this world, those who understand binary and those who don't