Re: Unicode canonical decomposed form and text encoding
Re: Unicode canonical decomposed form and text encoding
- Subject: Re: Unicode canonical decomposed form and text encoding
- From: Renaud Boisjoly <email@hidden>
- Date: Tue, 14 Jan 2003 20:57:56 -0500
I'm not sure what this means...
How must I define the length of the buffer ( UniChar characters[XXX] )
how can I determine the eventual size of the buffer I need if I do not
know how it will be decomposed...
You mentioned this:
"So, if you want to have canonically decomposed format (not just
decomposed), you need to make sure your working buffer ends BEFORE a
base character (![[NSCharacter nonBaseCharacterSet]
characterIsMember:theChar]). You don't have to worry about surrogates
since pre-Jaguar TEC doesn't recognize them."
By this I'm guessing you are saying I should look through the resulting
UniChar until the character I get a base character, or while I'm not a
base character (not sure what a base character is...)
To my untrained ears (eyes) this means to scan until I reach the end of
the actual Unicode string... or something like this.
I'll try using a while loop to add the characters until I hit this
condition and see what happens
On Tuesday, January 14, 2003, at 08:44 PM, Aki Inoue wrote:
Please make sure the content of src and dst character buffers.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.