Re: Getting a bullet into a NSString
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