2006-05-16 bradeeoh <beidson@apple.com>
[WebKit-https.git] / WebKit / Misc / WebFileDatabase.m
index 38c3f49fab0486a5b00f9990a08af2d54c325d9a..6c905acd9ecf7058eaa6f0ce9d641af0c1fe2104 100644 (file)
@@ -194,8 +194,8 @@ static void UniqueFilePathForKey(id key, char *buffer)
     UInt32 hash2;
     CFIndex len;
     CFIndex cnt;
-
-    s = [[[[key description] lowercaseString] stringByStandardizingPath] lossyCString];
+    
+    s = [[[[key description] lowercaseString] stringByStandardizingPath] UTF8String];
     len = strlen(s);
 
     // compute first hash