• 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: UNICODE from a WinTel box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UNICODE from a WinTel box


  • Subject: Re: UNICODE from a WinTel box
  • From: j o a r <email@hidden>
  • Date: Wed, 4 Jan 2006 14:09:16 +0100


On 4 jan 2006, at 14.01, Kenny Millar wrote:

AFAIK stringWithCharacters is not deprecated.

Agreed - my bad.

As for initWithData, I get the same results if I use
NSUnicodeStringEncoding, and only the first character of the string if I use
any of the NSWindows* encodings. (Presumably they see the 0 byte in unicode
as a terminator).

Why would you try other encodings, don't you know which encoding is being used?


It seems that you're missing the byte order mark (BOM)?

<http://www.unicode.org/faq/utf_bom.html#22>

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • RE: UNICODE from a WinTel box
      • From: "Kenny Millar" <email@hidden>
References: 
 >RE: UNICODE from a WinTel box (From: "Kenny Millar" <email@hidden>)

  • Prev by Date: RE: UNICODE from a WinTel box
  • Next by Date: RE: UNICODE from a WinTel box
  • Previous by thread: RE: UNICODE from a WinTel box
  • Next by thread: RE: UNICODE from a WinTel box
  • Index(es):
    • Date
    • Thread