Main Page | Report this Page
Computers Forum Index  »  Computer Languages (Objective-C)  »  On ASCII hex representation of trademark () symbo l...
Page 1 of 1    

On ASCII hex representation of trademark () symbo l...

Author Message
mariot...
Posted: Tue Sep 22, 2009 7:05 am
Guest
Hello guys,

Does anyone know here the ASCII hex representation of the trademark
() symbol in mac?

I've tried to open "Special Characters" window on the Edit Menu of the
Finder and I've seen that the trademark () symbol only have two hex
representation namely UTF8 and Unicode. No ASCII hex representation
was found.

With this, I cannot find a way to programmatically interpret the
Trademark () symbol via ASCII representation.
See my code:

// UTF8 interpretation of trademark () symbol
const char utf8test[] = {0xe2, 0x84, 0xa2, 0x00};
NSString *utf8testString = [NSString stringWithCString:utf8test
encoding: NSUTF8StringEncoding];

// ASCII interpretation of trademark () symbol
const char asciitest[] = ??? // still pending
NSString *asciitestString = [NSString stringWithCString:asciitest
encoding: NSASCIIStringEncoding];


Please help.

Thanks,

Mario
 
Tom Harrington...
Posted: Tue Sep 22, 2009 9:18 pm
Guest
In article
<4dc0c294-4305-4961-984b-dac0a7f76dd0 at (no spam) f10g2000vbf.googlegroups.com>,
mariot <marioqtanjr at (no spam) gmail.com> wrote:

Quote:
Does anyone know here the ASCII hex representation of the trademark
() symbol in mac?

That symbol is not part of ASCII, so there is no representation. ASCII
on Macs is the same as ASCII everywhere. See
<http://en.wikipedia.org/wiki/Ascii> for more information.

--
Tom "Tom" Harrington
Independent Mac OS X developer since 2002
http://www.atomicbird.com/
 
 
Page 1 of 1    
All times are GMT
The time now is Thu Nov 26, 2009 12:00 pm