• 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: UTI and/or bundle-IDs with small letters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTI and/or bundle-IDs with small letters


  • Subject: Re: UTI and/or bundle-IDs with small letters
  • From: Kevin Hardman <email@hidden>
  • Date: Fri, 03 Mar 2017 10:00:59 -0500

FWIW: It is my understanding that UTIs are derived from domain names as defined in RFC 1035 (relevant portion quoted below). Nevertheless, as already quoted in a previous post it is best to use the “Testing for Equality and Conformance” APIs or the NSWorkspace’s function type(String, conFormsToType: String).
—kevin

2.3.3. Character Case

For all parts of the DNS that are part of the official protocol, all
comparisons between character strings (e.g., labels, domain names, etc.)
are done in a case-insensitive manner.  At present, this rule is in
force throughout the domain system without exception.  However, future
additions beyond current usage may need to use the full binary octet
capabilities in names, so attempts to store domain names in 7-bit ASCII
or use of special bytes to terminate labels, etc., should be avoided.

When data enters the domain system, its original case should be
preserved whenever possible.  In certain circumstances this cannot be
done.  For example, if two RRs are stored in a database, one at x.y and
one at X.Y, they are actually stored at the same place in the database,
and hence only one casing would be preserved.  The basic rule is that
case can be discarded only when data is used to define structure in a
database, and two names are identical when compared in a case
insensitive manner.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: Attributed strings - and bounding rects
  • Next by Date: Adding a watchOS complication to an existing project?
  • Previous by thread: Re: UTI and/or bundle-IDs with small letters
  • Next by thread: I think I messed up the undo-count during load
  • Index(es):
    • Date
    • Thread