Has anyone managed to add a registered character mark to their text using NSString in a C object? I tried using the Unicode equivalent: \ u00AE, however this does not give me the registered character sign, as it should be! Can anyone suggest any kind of understanding?
NSLog(@"Hello\u00AE");prints the expected string with the registered character on my console. Perhaps this is really the font that you are trying to use when displaying your string.
NSLog(@"Hello\u00AE");
On an American keyboard and possibly others, you can simply enter it with Option- R: ® ®®®®®®®®®®®®
, " " "" .
( unicode). .
NSLocalizedString , - NSLocalizedString (@ " ", @""), InfoPlist.strings " " = "registeredsymbol"; InfoPlist.strings - utf8 utf16, , , UnicodeChecker, unichar.
+ [NSString stringWithCharacters: (const unichar *) : (NSUInteger) length] unchar.