• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dealing with non-standard character sets...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Dealing with non-standard character sets... (From: Michael Heinz <email@hidden>)
 >Re: Dealing with non-standard character sets... (From: Ricky Sharp <email@hidden>)
 >Re: Dealing with non-standard character sets... (From: Michael Heinz <email@hidden>)
 >Re: Dealing with non-standard character sets... (From: Douglas Davidson <email@hidden>)
 >Re: Dealing with non-standard character sets... (From: Andy Armstrong <email@hidden>)
 >Re: Dealing with non-standard character sets... (From: Douglas Davidson <email@hidden>)
 >Re: Dealing with non-standard character sets... (From: Michael Heinz <email@hidden>)
 >Re: Dealing with non-standard character sets... (From: Andy Armstrong <email@hidden>)

  • Prev by Date: Re: Dealing with non-standard character sets...
  • Next by Date: Re: Dealing with non-standard character sets...
  • Previous by thread: Re: Dealing with non-standard character sets...
  • Next by thread: Re: Dealing with non-standard character sets...
  • Index(es):
    • Date
    • Thread