• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Making a valid NSURL that contains Kanji characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Making a valid NSURL that contains Kanji characters
      • From: Hiroshi Saito <email@hidden>
  • Prev by Date: Re: Overriding -copyWithZone: the right way
  • Next by Date: Undo/redo for NSTextView appearing in a sheet dialog
  • Previous by thread: Re: Programmatically resizing a view which contains an NSTabView
  • Next by thread: Re: Making a valid NSURL that contains Kanji characters
  • Index(es):
    • Date
    • Thread