Thanks to all of you. This once again proves how deep you can get yourself into a mess if you mix unicode and string objects in your code!