• 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: Getting a bullet into a NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a bullet into a NSString


  • Subject: Re: Getting a bullet into a NSString
  • From: John Stiles <email@hidden>
  • Date: Tue, 14 Mar 2006 10:34:25 -0800

You need to make sure Xcode has that file set to UTF8. Format menu -> File Encoding -> Unicode (UTF-8).
The techniques suggested by other posters will work no matter what your source file encoding is, so they might be preferable.



On Mar 14, 2006, at 9:55 AM, Ben Lachman wrote:

What's a good way of getting a bullet char ("•") into a NSString? I was using:

[NSString stringWithUTF8String:"• "]

...but that stopped working when I reorganized my code (not sure why, but I meant to make sure I was doing the right way anyway). Any suggestions?

Thanks,
->Ben


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com


This email sent to email@hidden

_______________________________________________ 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: Getting a bullet into a NSString
      • From: mmalcolm crawford <email@hidden>
References: 
 >Getting a bullet into a NSString (From: Ben Lachman <email@hidden>)

  • Prev by Date: Re: How to create a custom class to use in interface builder
  • Next by Date: Re: slow QTKit framegrabbing
  • Previous by thread: Re: Getting a bullet into a NSString
  • Next by thread: Re: Getting a bullet into a NSString
  • Index(es):
    • Date
    • Thread