Re: [twitter-dev] Ampersand

2011-05-28 Thread Alexander Skwar
Hi.

Is the  properly encoded when it gets sent to twitter? Sounds like it
isn't...

-- 
Alexander
Am 28.05.2011 08:06 schrieb R r4eem...@gmail.com:
 I'm using cocoa and NSUTF8StringEncoding. When I post a sentence
 that contains the ampersand (), all text that follows is removed from
 the resulting tweet.

 How should I deal with the  within a sentence (not URL) of a post?

 Thanks -- Ron

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
https://groups.google.com/forum/#!forum/twitter-development-talk

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Ampersand

2011-05-28 Thread Sean Heber
This is OT for this list, but you need to use NSString's 
-stringByAddingPercentEscapesUsingEncoding: method (or similar) to encode 
characters correctly for URLs.

l8r
Sean

On May 27, 2011, at 9:10 PM, R wrote:

 I'm using cocoa and NSUTF8StringEncoding.   When I post a sentence
 that contains the ampersand (), all text that follows is removed from
 the resulting tweet.
 
 How should I deal with the  within a sentence (not URL) of a post?
 
 Thanks -- Ron
 
 -- 
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 https://groups.google.com/forum/#!forum/twitter-development-talk

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk