Making a valid NSURL that contains Kanji characters
Making a valid NSURL that contains Kanji characters
- Subject: Making a valid NSURL that contains Kanji characters
- From: Jesus De Meyer <email@hidden>
- Date: Sat, 6 Nov 2004 00:12:22 +0100
Hi,
I noticed that when I make a string that contains both roman and kanji characters, [NSURL URLWithString] returns nil.
However, I found a solution using
[NSString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
Is this the only solution or am I missing something. Also, that method is only for Panther, and that's ok, because my app only runs on panther, but what would be the solution if I were to develop for Jaguar?
Thanks in advance _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden