Women in Technology

Hear us Roar



Article:
  Networking in Cocoa
Subject:   problem sending non ascii characters to xp
Date:   2006-08-01 15:41:27
From:   Nigeuk123
I was really pleased to find the code you provided and have used aspects of it to write my own chat program. It works greate mac to mac but when I send non ascii characters through the socket to an XP machine that is listening it cannot handle the non ascii character. It will display the non ascii character but also an idditional non ascii char of a different type. is this anything to do with UTF-8 in NSData or a problem because it's cross-platform. A solution would be very welcome and I'd be really grateful