• 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: John Stiles <email@hidden>
  • Date: Wed, 4 Jan 2006 15:12:07 -0800

On Jan 4, 2006, at 3:11 PM, Ricky Sharp wrote:

On Jan 4, 2006, at 7:17 AM, Kenny Millar wrote:



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

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

Correct, the windows service doesn't include a BOM at the start of the
string it sends out.


I think I'll need to talk to the developer of the Windows Service and ask if
they can include a BOM one way or another.

Potential solutions:

(1) Developer of the Windows service uses a better encoding for transportability such as UTF-8.

(2) As you mention, developer puts proper BOM so you know the endianess

(3) It may be the case where the developer cannot include the BOM (e.g. other clients of the service would start failing if the data is prefixed with the BOM). Could you thus assume that if no BOM is included that the data is of a particular endianess?

I'd probably just jump straight to #3... the first two solutions seem like they have the potential for huge "ripple effects" to the existing system, which could make new bugs for little benefit.


_______________________________________________
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>)
 >Re: UNICODE from a WinTel box (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: Observing Collections
  • Next by Date: Re: Scaled image in NSButtonCell flipped - drawInRect:
  • Previous by thread: Re: UNICODE from a WinTel box
  • Next by thread: RE: UNICODE from a WinTel box
  • Index(es):
    • Date
    • Thread