Questions tagged [nsstringencoding]

Enumeration in Objective-C Cocoa API that contains type for string encoding

Enumeration in Objective-C Cocoa API that contains type for string encoding

127 questions
-1
votes
1 answer

How to appropriately encrypt and decrypt a NSString with AES 128

I am using http://aes.online-domain-tools.com to encrypt my NSString and what i get back from this is an array of unsigned char like this c2 84 6b 71 72 6d d2 e7 cd 0b a6 08 cd 85 c3 0c. Then is use this to convert it into NSString…
Ashutosh
  • 5,614
  • 13
  • 52
  • 84
-1
votes
1 answer

NSData to NSString losing data

I'm attempting to convert a binary file into text, the problem is that a large portion of the file was not encoded in ascii and ends up being special characters. I'm using [[NSString alloc] initWithData:data encoding:NSASCIIStringEncoding]; but…
davis
  • 1,911
  • 6
  • 26
  • 50
-1
votes
1 answer

Get a unicode value of a character

I have a character being entered by the user in a textfield and as per the functionality I have in my code, the system should append the same character at the end of a string. So if the user enters '$', the system adds '$' so I get '$$' on the…
tech_human
  • 6,592
  • 16
  • 65
  • 107
-2
votes
2 answers

how to convert this "\U202a+98\U00a0910\U00a0280\U00a05305\U202c" to string?

How to convert this \U202a+98\U00a0910\U00a0280\U00a05305\U202c to pure string +989102805305.
Asad ali
  • 245
  • 1
  • 2
  • 13
-2
votes
2 answers

NSURL - Correct Encoding for parameters

In my code I need to do encoding NSURL from NSString if string contains some special character & in the parameters. EX: NSString* urlText = @"70.84.58.40/projects/igolf/?TipThumb=GOLF & 58B.jpg&query=some"; Using…
iCoder4777
  • 1,682
  • 1
  • 14
  • 35
-3
votes
1 answer

How to convert NSSize, NSinteger and other data types to NSString?

I'm new to Obj C and didn't find any solution to convert given data types to NSString. Please help !
-3
votes
1 answer

iOS : How to do proper unicode escape conversion for NSString?

Before start reading the question you've to know this so it'll be easy for you to understand the problem, I've two strings verrà and verrà [see last character in both the strings -- the only difference] I've these two strings verrà blah blah and…
Hemang
  • 26,840
  • 19
  • 119
  • 186
1 2 3
8
9