<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Sorting in MySQL - Ignoring the &#8216;The&#8217;</title>
	<atom:link href="http://labs.dagensskiva.com/2007/12/28/sorting-in-mysql-ignoring-the-the/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.dagensskiva.com/2007/12/28/sorting-in-mysql-ignoring-the-the/</link>
	<description>A development blog</description>
	<pubDate>Wed, 03 Dec 2008 00:27:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Johan Dahlin</title>
		<link>http://labs.dagensskiva.com/2007/12/28/sorting-in-mysql-ignoring-the-the/#comment-6</link>
		<dc:creator>Johan Dahlin</dc:creator>
		<pubDate>Mon, 31 Dec 2007 02:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://labs.dagensskiva.com/2007/12/28/sorting-in-mysql-ignoring-the-the/#comment-6</guid>
		<description>Relying on the hexadecimal value to do locale specific sorting is actually wrong. In the case of swedish, which is the most (only?) relevant language on dagensskiva.com you would like to sort a..zåäö. 
The hexadecimal value for å in utf-8 is 229, but ä is 228. Add to that that upper case letter have lower hex values than lower case letter.

The proper way to solve this is to specify a character set, it appears to be possible to do this on a global, database and table basis:
http://mirrors-r-us.net/doc/refman/5.0/en/character-sets.html

Hope this helps!</description>
		<content:encoded><![CDATA[<p>Relying on the hexadecimal value to do locale specific sorting is actually wrong. In the case of swedish, which is the most (only?) relevant language on dagensskiva.com you would like to sort a..zåäö.<br />
The hexadecimal value for å in utf-8 is 229, but ä is 228. Add to that that upper case letter have lower hex values than lower case letter.</p>
<p>The proper way to solve this is to specify a character set, it appears to be possible to do this on a global, database and table basis:<br />
<a href="http://mirrors-r-us.net/doc/refman/5.0/en/character-sets.html" rel="nofollow">http://mirrors-r-us.net/doc/refman/5.0/en/character-sets.html</a></p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
