• 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
Re: rangeOfString behaves wierd
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rangeOfString behaves wierd


  • Subject: Re: rangeOfString behaves wierd
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Mon, 09 Dec 2013 03:00:47 -0600

I don't get the same result. 10.9.0, Xcode 5.0.2. I created an empty
command line utility, copied the code, and I get NSNotFound.

2013-12-09 02:50:19.822 Test[73850:303] main "见≠見" (3 shorts) occurs in
"见=見見" (4 shorts) at {9223372036854775807, 0}



On Mon, Dec 9, 2013 at 2:43 AM, Gerriet M. Denkmann <email@hidden>wrote:

>
> On 9 Dec 2013, at 15:05, Quincey Morris <
> email@hidden> wrote:
>
> > On Dec 8, 2013, at 23:46 , Gerriet M. Denkmann <email@hidden>
> wrote:
> >
> >> NSString *b = @"见≠見";                //      0x89c1  0x2260  0x898b
> >
> > So what are the results with:
> >
> >> NSString *b = @"见”;
> >> NSString *b = @"≠”;
> >> NSString *b = @"見”;
> > ?
> >
> >  Does specifying an explicit locale make any difference?
>
> Explicit specifying en_US (as probably the best tested and debugged) makes
> no difference.
>
> Gerriet.
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: rangeOfString behaves wierd
      • From: Quincey Morris <email@hidden>
    • Re: rangeOfString behaves wierd
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >rangeOfString behaves wierd (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: rangeOfString behaves wierd (From: Quincey Morris <email@hidden>)
 >Re: rangeOfString behaves wierd (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: rangeOfString behaves wierd
  • Next by Date: Re: rangeOfString behaves wierd
  • Previous by thread: Re: rangeOfString behaves wierd
  • Next by thread: Re: rangeOfString behaves wierd
  • Index(es):
    • Date
    • Thread