Commits

Tuukka Norri committed a778b50

We now store strings as decomposed

  • Participants
  • Parent commits ced2743

Comments (0)

Files changed (1)

File Sources/PGTSFoundationObjects.m

 		BXAssertValueReturn (clientEncoding && 0 == strcmp ("UNICODE", clientEncoding), NULL,
 							 @"Expected client_encoding to be UNICODE (was: %s).", clientEncoding);
     }
-    const char* retval = [self UTF8String];
+	NSString* decomposed = [self decomposedStringWithCanonicalMapping];
+    const char* retval = [decomposed UTF8String];
     if (NULL != length)
         *length = strlen (retval);
     return (char *) retval;