FROM : Ricky Sharp
DATE : Tue Aug 15 22:57:51 2006
On Aug 15, 2006, at 3:47 PM, Michael Marmarou wrote:
> This is a good start, but the utf32 support is 10.4 only. I need to
> target 10.3 as well.
Although the constant appears in 10.4 and later, it may be the case
where there is underlying support for UTF-32 in older OS versions.
Best bet is to contact DTS.
Having said that, it _may_ be the case where your data contains
values in the UTF-32 space such that all have upper [or lower] words
of 0x0000. Thus, it's trivial to convert them their UTF-16
equivalents. However, if the data is using certain UTF-32
codepoints, then you will definitely need a proper converter.
--
Rick
> On 8/15/06, Nick Zitzmann <<email_removed>> wrote:
>>
>> On Aug 15, 2006, at 2:37 PM, Michael Marmarou wrote:
>>
>> > Is there any way to do this with
>> > Cocoa?
>>
>> Sort of.
>>
>> > If not, does anyone have a suggestion of how to do it?
>>
>> See CFString.h, specifically the UTF-32 encodings and the
>> CFStringConvertEncodingToNSStringEncoding() function.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
___________________________________________________________
Ricky A. Sharp mailto:<email_removed>
Instant Interactive(tm) http://www.instantinteractive.com
DATE : Tue Aug 15 22:57:51 2006
On Aug 15, 2006, at 3:47 PM, Michael Marmarou wrote:
> This is a good start, but the utf32 support is 10.4 only. I need to
> target 10.3 as well.
Although the constant appears in 10.4 and later, it may be the case
where there is underlying support for UTF-32 in older OS versions.
Best bet is to contact DTS.
Having said that, it _may_ be the case where your data contains
values in the UTF-32 space such that all have upper [or lower] words
of 0x0000. Thus, it's trivial to convert them their UTF-16
equivalents. However, if the data is using certain UTF-32
codepoints, then you will definitely need a proper converter.
--
Rick
> On 8/15/06, Nick Zitzmann <<email_removed>> wrote:
>>
>> On Aug 15, 2006, at 2:37 PM, Michael Marmarou wrote:
>>
>> > Is there any way to do this with
>> > Cocoa?
>>
>> Sort of.
>>
>> > If not, does anyone have a suggestion of how to do it?
>>
>> See CFString.h, specifically the UTF-32 encodings and the
>> CFStringConvertEncodingToNSStringEncoding() function.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
___________________________________________________________
Ricky A. Sharp mailto:<email_removed>
Instant Interactive(tm) http://www.instantinteractive.com
| Related mails | Author | Date |
|---|---|---|
| Michael Marmarou | Aug 15, 22:37 | |
| Nick Zitzmann | Aug 15, 22:43 | |
| Michael Marmarou | Aug 15, 22:47 | |
| Ricky Sharp | Aug 15, 22:57 | |
| Aki Inoue | Aug 15, 23:02 |






Cocoa mail archive

