From 1d9be6e174857f76224ab32c863c2d59ccec5e9f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 19 May 2009 23:47:12 -0400 Subject: [PATCH] Revert "We need to use UTF8 string encoding instead of ASCII because we're receiving XML. Socket code should be perfect now." This reverts commit 3e0ed926b2280e94306e76d829780062552d4c34. --- Source/SocketWrapper.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/SocketWrapper.m b/Source/SocketWrapper.m index 07b21ee..f93d2f1 100644 --- a/Source/SocketWrapper.m +++ b/Source/SocketWrapper.m @@ -193,7 +193,7 @@ [self error:@"Socket closed or could not be read"]; return nil; } - NSString* temp = [NSString stringWithCString:buffer encoding:NSUTF8StringEncoding]; + NSString* temp = [NSString stringWithCString:buffer encoding:NSASCIIStringEncoding]; [string appendString:temp]; received += [temp length]; } -- 2.43.5