Re: unichar question
Re: unichar question
- Subject: Re: unichar question
- From: Ondra Cada <email@hidden>
- Date: Tue, 2 Apr 2002 18:10:22 +0200
On Tuesday, April 2, 2002, at 05:41 , Nick M|ller wrote:
If this is the goal, what about non-lossy ASCII?
I either don't understand the question or ASCII. :-)
How can you guarantee that that a unichar-string can always be converted
to ASCII?
Just try that ;) The gist of is is that each \ is converted to \\, whilst
non-ASCIIable characters are converted to \<code> (it is slightly more
complicated in practice).
Alas I am not an expert enough of cryptology to be able to say whether
coding a UTF16 string as a twice that long string of 8-bit characters
would strengthen or weaken the encryption, or whether it would not have
any influence at its strength (with a very plain encryption of ROT13 type
it would be weaker of course, but for other methods I really am not sure).
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.