Re: Dealing with non-standard character sets...
Re: Dealing with non-standard character sets...
- Subject: Re: Dealing with non-standard character sets...
- From: Michael Heinz <email@hidden>
- Date: Sat, 8 Oct 2005 08:54:41 -0400
Thanks Andy.
On Oct 8, 2005, at 7:24 AM, Andy Armstrong wrote:
On 8 Oct 2005, at 03:12, Michael Heinz wrote:
Well, since you posted I've been looking at the unicode support
documents; it appears that I can find all the characters I need
(or analogs) but not in one font. Worse, the documentation isn't
very clear. I can see creating a mapping function that traverses a
C string and maps the ASCII to Unicode constants - but I can't see
how to create unicode characters; NSStrings contain them, it
seems, but how do I create the strings in the first place?
Use a lookup table to translate the bytes into unichars and then
[NSString stringWithCharacters: <#(const unichar *)characters#>
length:<#(unsigned)length#>
I'm not sure what the best way to address the problem of finding a
font that actually contains the characters is I'm afraid.
--
Andy Armstrong, hexten.net
_______________________________________________
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